andyswinburne
Registered User.
- Local time
- Today, 11:23
- Joined
- Sep 29, 2003
- Messages
- 22
Hi,
I am trying to use code to create a new record in a table, I have found code in a book and online help which looks as if it would work.
But I get an error at the first line:
Dim dbs as Database, rst as DAO.RecordSet
it doesn't recognise 'Database' and just says:
User-defined type not defined
why is this?
cheers
Andy
I am trying to use code to create a new record in a table, I have found code in a book and online help which looks as if it would work.
But I get an error at the first line:
Dim dbs as Database, rst as DAO.RecordSet
it doesn't recognise 'Database' and just says:
User-defined type not defined
why is this?
cheers
Andy