When I run this, I get
An expression you entered is the wrong data type for one of the arguments.
Private Sub Select_Exhibitor_DblClick(Cancel As Integer)
On Error GoTo Select_Exhibitor_DblClick_Err
DoCmd.SelectObject acForm, "Exhibitors"
DoCmd.GoToControl "LastName"...
OK, now I have "Microsoft DAO 3.X Object Library" in my references and the error message has disappeared, but it does not return the record that I have selected. What do I need to do next?
I am needing help on fixing the following:
When I run this, I get
Compile error:
User-defined type not defined
Dim MyRS As DAO.Recordset is where it stops-----
Private Sub Exhibitor_Search_OK_Click()
On Error GoTo Exhibitor_Search_OK_Click_Err
Dim Criteria As String
Dim MyRS As DAO.Recordset...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.