I have a little issue with some VBA code in a sub report.
The following code works in the sub report when opened directly:
Private Sub Report_Load()
If IsNull(cmb1.Value) Then
Me.img1.Visible = False
Me.img1.Visible = True
It displays or hides an image based on the value of a combo box.
But...when I insert this report as a sub report in another (main form) and open it, the code does not fire.
What do you think I might be missing?
Thanks very much.