(Msg. 1) Posted: Fri Jul 04, 2008 2:00 am
Post subject: Report Formatting Archived from groups: microsoft>public>access (more info?)
Hi all,
I have two divisions of a company..and i have 1 sales report. This report is
opened by both the divisions whatever the choice may be. Now my report has a
logo(image) at its header which is different for both divisions. How do I
code it so that according to the division chosen by the user, the report
opens with the respective image..
Please help since I don't want to create two reports for both these
divisions because that would be simply ridiculous....
(Msg. 2) Posted: Fri Jul 04, 2008 6:37 am
Post subject: Re: Report Formatting [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
On Fri, 4 Jul 2008 02:00:02 -0700, Raymond wrote:
> Hi all,
> I have two divisions of a company..and i have 1 sales report. This report is
> opened by both the divisions whatever the choice may be. Now my report has a
> logo(image) at its header which is different for both divisions. How do I
> code it so that according to the division chosen by the user, the report
> opens with the respective image..
>
> Please help since I don't want to create two reports for both these
> divisions because that would be simply ridiculous....
Use an Image control to display the logos.
You can....
1) Use 2 Image controls.
Include both images, one on top of the other, in the report.
Then code the Report Header's Format event, something like:
If Me.[Department] = "Sales" Then
Me.ImageName1.Visible = True
Me.ImageName2.Visible = False
Else
Me.ImageName2.Visible = True
Me.ImageName1.Visible = False
End If
Or....
Just use one Image control.
Code the Report Header Format event:
If Me.[Department] = "Sales" Then
Me.ImageName.Picture = "c:\PictureFolder\SalesLogo.jpg"
Else
Me.ImageName.Picture = "c:\PictureFolder\ManufacturingLogo.jpg"
End If
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum