S
steamngn via AccessMonster.com
Ok, So the subject sounds silly, but read on:
I have a form with a multiselect listbox of student ID's which is used to
launch various reports. There is one report which requires only one student
be selected. Is there a way to prevent a user from making multiple selections
in this listbox? I see that the Multiselect value cannot be changed unless in
design view, so that is out. Perhaps a way to count the number of selections
in the After Update and flag it if there is more than one for this report?
The reports are selected in a frame of buttons, so maybe:
If Me.Frame24 = 3 Then
If Me.List107.count of selected records >1 Then
msgbox "this would be ok code"
End If
End If
can something like this be done? Better ideas? Help!
Andy
I have a form with a multiselect listbox of student ID's which is used to
launch various reports. There is one report which requires only one student
be selected. Is there a way to prevent a user from making multiple selections
in this listbox? I see that the Multiselect value cannot be changed unless in
design view, so that is out. Perhaps a way to count the number of selections
in the After Update and flag it if there is more than one for this report?
The reports are selected in a frame of buttons, so maybe:
If Me.Frame24 = 3 Then
If Me.List107.count of selected records >1 Then
msgbox "this would be ok code"
End If
End If
can something like this be done? Better ideas? Help!
Andy