Accessible92866
Registered User.
- Local time
- Yesterday, 23:55
- Joined
- Nov 4, 2008
- Messages
- 11
Turning to the expert minds for help...
Upfront note: I have been writing databases for years but haven't really gone beyond basic macros for automation. I'm not a programmer and have very little experience with VBA, so if you explain things as if you were talking to a small child, I won't be offended.
I have a report (Access 2007) based on a parameter query and in the report header, I'd like the image control named "logo" to change based on which client is requested in the query.
Thanks in advance for any assistance you can offer!
Upfront note: I have been writing databases for years but haven't really gone beyond basic macros for automation. I'm not a programmer and have very little experience with VBA, so if you explain things as if you were talking to a small child, I won't be offended.

I have a report (Access 2007) based on a parameter query and in the report header, I'd like the image control named "logo" to change based on which client is requested in the query.
- Should I use Select...Case to change the pathname to the image according to which [ClientName] is chosen? (There are only five possible clients and I don't think the number will increase anytime soon.)
- Would it be better to stack the five images on top of each other and turn their visible/invisible properties on or off?
- Where should the code be placed? Somewhere in the report properties or the image control properties?
Thanks in advance for any assistance you can offer!