M
Michael R
I have the following code in a form's OnLoad:
Dim someData As Database
Dim allTransactions As Recordset
Dim allChecks As Recordset
Dim checkCriteria, paymentCriteria As String
It gives me this error:
"Compile Error
User-defined type not defined"
It highlights the "Dim someData As Database" line of code.
Is there any reason why Access wouldn't have a Database
type?
Dim someData As Database
Dim allTransactions As Recordset
Dim allChecks As Recordset
Dim checkCriteria, paymentCriteria As String
It gives me this error:
"Compile Error
User-defined type not defined"
It highlights the "Dim someData As Database" line of code.
Is there any reason why Access wouldn't have a Database
type?