Hi
I've got a form for medical practices to fill in details of their team members.
At the top of the form is an unbound Year combo box, allowing user to select the year they want.
The team details are then contained in a subform. At the top of the subform is a list box with the team members registered for that year - and the rest of the subform shows details of the member currently selected from the list box (the listbox Update event has the standard Access code that the Wizard uses for these kind of navigating boxes - Set rs = Me.Recordset.Clone
rs.FindFirst "[TeamMemberID] = " & Str(Nz(Me![TeamList], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
The subform has buttons for users to add/delete members.
The problem is that if there are no members registered for a year, the subform appears completely blank - and so the user can't even see the Add button to register members for that year.
I just want the form to appear with all its fields blank (not allowing Additions directly) so that the user can click the Add button and register a new member.
Any suggestions? I'd be very grateful.
Cheers.
I've got a form for medical practices to fill in details of their team members.
At the top of the form is an unbound Year combo box, allowing user to select the year they want.
The team details are then contained in a subform. At the top of the subform is a list box with the team members registered for that year - and the rest of the subform shows details of the member currently selected from the list box (the listbox Update event has the standard Access code that the Wizard uses for these kind of navigating boxes - Set rs = Me.Recordset.Clone
rs.FindFirst "[TeamMemberID] = " & Str(Nz(Me![TeamList], 0))
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
The subform has buttons for users to add/delete members.
The problem is that if there are no members registered for a year, the subform appears completely blank - and so the user can't even see the Add button to register members for that year.
I just want the form to appear with all its fields blank (not allowing Additions directly) so that the user can click the Add button and register a new member.
Any suggestions? I'd be very grateful.
Cheers.