M
Mitch
Hi there,
I'm trying to write some code that will loop through the
value of a field in table and display the value in a
msgbox, however Access 2002 does'nt recognise the
database object. My code is as follows...
Dim dbsBillingReports As Database
Dim rstData As Recordset
Dim strDisplay As String
Set dbsBillingReports = OpenDatabase("BillingReports.mdb")
Set rstData = dbsBillingReports.openrecordset
("detailjune2004", )
but when I try to compile this I get "User defined type
not defined" am I coding this incorrectly ? If so what is
the correct syntax.
Regards,
Mitch....
I'm trying to write some code that will loop through the
value of a field in table and display the value in a
msgbox, however Access 2002 does'nt recognise the
database object. My code is as follows...
Dim dbsBillingReports As Database
Dim rstData As Recordset
Dim strDisplay As String
Set dbsBillingReports = OpenDatabase("BillingReports.mdb")
Set rstData = dbsBillingReports.openrecordset
("detailjune2004", )
but when I try to compile this I get "User defined type
not defined" am I coding this incorrectly ? If so what is
the correct syntax.
Regards,
Mitch....