Accessible92866
03-25-2009, 09:35 AM
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.
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?
As you can see, I know what I want to do, but don't have much of a clue how to go about it and am pretty lost.
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?
As you can see, I know what I want to do, but don't have much of a clue how to go about it and am pretty lost.
Thanks in advance for any assistance you can offer!