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
 
Top