Hi,
I have a simple report that contains a picture (I have the visible properity set to No). I want to use an If statement in the On Open event to cause the picture to become visible if two fields on the report are equal for my printout.
This is what I am looking for
If Me.Total.Value = Me.AmountPaid.Value then
ImgPaid.Visible = True
End if
However, I can not get a .Value option for the total field or the AmountPaid field. I also can not get a .Visible option for any of them either.
What am I doing wrong? I am sure that I've done this in the past.
Thanks for your help!
--freefour
I have a simple report that contains a picture (I have the visible properity set to No). I want to use an If statement in the On Open event to cause the picture to become visible if two fields on the report are equal for my printout.
This is what I am looking for
If Me.Total.Value = Me.AmountPaid.Value then
ImgPaid.Visible = True
End if
However, I can not get a .Value option for the total field or the AmountPaid field. I also can not get a .Visible option for any of them either.
What am I doing wrong? I am sure that I've done this in the past.
Thanks for your help!
--freefour