G
Guest
I have the following code in my form. (The form is the Main Menu with 3
labels that act as menu selections.) I want the first label to get the focus
when the form is opened (or loaded, or active, etc.)
Private Sub Form_Open(Cancel As Integer)
Me.lblViewInv.SetFocus
End Sub
When I compile, I get an error message "Method or data member not found."
I've tried different variations of the statement, resulting in various
errors. Is it a library thing? I'm using VB for Apps, MS Access 11.0 Object
Libray, MS DAO 3.6 Object Library, OLE Automation, MS VB for Apps Ext. 5.3,
and MS Office XP Web Components.
Thanks in advance.
labels that act as menu selections.) I want the first label to get the focus
when the form is opened (or loaded, or active, etc.)
Private Sub Form_Open(Cancel As Integer)
Me.lblViewInv.SetFocus
End Sub
When I compile, I get an error message "Method or data member not found."
I've tried different variations of the statement, resulting in various
errors. Is it a library thing? I'm using VB for Apps, MS Access 11.0 Object
Libray, MS DAO 3.6 Object Library, OLE Automation, MS VB for Apps Ext. 5.3,
and MS Office XP Web Components.
Thanks in advance.