WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Report Formatting

 
   Home -> Office other -> General Discussions RSS
Next:  Access 2007 - Different Ribbons for Different Use..  
Author Message
Raymond

External


Since: Jun 08, 2006
Posts: 51



(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....
Back to top
Login to vote
fredg

External


Since: Jan 30, 2004
Posts: 4633



(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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> General Discussions 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET