I'm very new to access and my question is probably a stupid one:
When I copy and paste sample code from access help file that has a line 'Dim db As Database' I get a compiler error 'User-defined type not defined'. Also 'Database' is not in the list that pops-up after 'As'. What am I missing here? Almost all of the help sample code starts with this line.