database types in Access 2000,2002,2003

  • Thread starter Thread starter Dariusz Tomoñ
  • Start date Start date
D

Dariusz Tomoñ

Hello

Some time ago I used following construction in my modules to open
recordsets:

Dim mazars As Database
Dim R0 As Recordset
Set mazars = CurrentDb()

s1 = "SELECT * FROM emp"
Set R0 = mazars.OpenRecordset(s1)

.... but it was in Access 97. The question is: what is equivalent to database
type etc. in newer version of Access?
When I try to launch the programs I get the message: "Compile error -
user-defined type not defined"

best regards

D.T.
 
Back
Top