Home Forums Microsoft Access Microsoft Access Access 2003 adp: Run-time error ''91'': Object variable or with block variable not set RE: Access 2003 adp: Run-time error ''''91'''': Object variable or with block variable not set
Marc Bosgraaf
SSC Enthusiast
Points: 165
More actions
November 15, 2005 at 4:39 am
#603854
Hi Scott,
I think the error occurs because you try to set properties of cmd1 before initiating it. Try putting 'Set cmd1 = new adodb.command' before the offending line.
Hope this helps. Greetz,
Marc