Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when trying to add a picture to a sub-form

Status
Not open for further replies.

jjmclell

Technical User
Aug 10, 2007
34
CA
Hi there,

I have a sub-form within a sub-form and I'm trying to add a jpeg file for a picture just by using the properties box of the form. However I keep getting the error "Object variable or With block variable not set". Does anybody know why and what I can do to avoid this? I am an extreme novice with access and VB so if you can keep that in mind when responding, it would be appreciated.

Thanks,

jjmclell
 
You cannot have pictures in continous forms in versions less than 2007. Is your form continuous? If not, please post some code.
 
I used this code,Hide The Access Window faq705-2562. It works but I lose control of the other switchboards I have in the main Switchboard.Is there something I'm missing, or do I need to do another code. I put the mcrHide code onto the main switchboard form along with popup yes. I can access direct into what i have on the main but cannot access the others. Thanks for your help.
 
Aussytek
Please create a new thread of your own for this problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top