SubForm Problem

H

h-kay

hello

I seem to be having a problem creating subforms.
When i go through the subform wizard and finish i get the
following error message

Object Variable or with block variable not set

can anyone tell me why im getting this error and what i
need to do in order to correct it

cheers
 
R

Roger Carlson

Usually this error happens when you have tried to set the value of an object
variable (database, recordset, etc) without using the SET keyword. Look in
your code for something like this:
db = CurrentDb
and change it to
Set db = CurrentDb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top