Good morning all,
I have a form with a combo where users input an ID to find the student record they need. I was able to get it to set to null on open of the form, otherwise the first ID in the list shows, using the code below in the VB editor. It works great for the combo select but when I try to add the code for the corresponding text box that show the user the name an ID of the student they have selected it get all kinds of errors. Can there only be one programmed action for the Current()? I am really, really, rusty in the use of VBA... so any help would be greatly appreciated.
Thank you,
Jacqueline
Private Sub Form_Current()
On Error GoTo ErrorHandler
Me![Combo23] = Null
Exit Sub
ErrorHandler:
MsgBox "Error No: " & Err.Number & ": Description: " & Err.Description
End Sub