Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I need help with trying to requery a list box on a sub form. In the On Current event I have an Event procedure with the following code:
Private Sub Form_Current()
Me.software_ListBox.Requery
End Sub
Software_ListBox is the name of the control on the sub form
But I keep getting this error message:
The expression On Current you entered as the event property setting produced the following error: A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control.
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event procedure].
* There may have been an error evaluating the function, event, or macro.
I need help with trying to requery a list box on a sub form. In the On Current event I have an Event procedure with the following code:
Private Sub Form_Current()
Me.software_ListBox.Requery
End Sub
Software_ListBox is the name of the control on the sub form
But I keep getting this error message:
The expression On Current you entered as the event property setting produced the following error: A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control.
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event procedure].
* There may have been an error evaluating the function, event, or macro.