jaaret
Instructor
- Jun 19, 2002
- 171
My goal is to position and size a logo image on a report depending on which logo is selected from a combo box on a form. I've tried this code with:
Private Sub Report_Open
Private Sub Report_Format
What event should I have this code under?
Logo = Form_frmCSS.cboLogo
Select Case Logo
Case Logo = "CompanyName1"
Me.imgLogo.Left = 8928
Me.imgLogo.Top = 0
Me.imgLogo.Width = 5580
Me.imgLogo.Height = 1680
Case Logo = "CompanyName2"
Me.imgLogo.Left = 10320
Me.imgLogo.Top = 480
Me.imgLogo.Width = 4200
Me.imgLogo.Height = 8333
End Select
Thanks,
Jaaret
Private Sub Report_Open
Private Sub Report_Format
What event should I have this code under?
Logo = Form_frmCSS.cboLogo
Select Case Logo
Case Logo = "CompanyName1"
Me.imgLogo.Left = 8928
Me.imgLogo.Top = 0
Me.imgLogo.Width = 5580
Me.imgLogo.Height = 1680
Case Logo = "CompanyName2"
Me.imgLogo.Left = 10320
Me.imgLogo.Top = 480
Me.imgLogo.Width = 4200
Me.imgLogo.Height = 8333
End Select
Thanks,
Jaaret