When I attempt to create a database object like this:
DIM dbs AS Database
and run the code I get the message "User defined-type not defined". In fact, when I type to the "AS" the pop-up dropdown menu that appears does not even contain "Database" as a choice. I have to be able to define a database object so I can do SELECT queries. Can anyone tell me why I can't define this object?. Thanks.