This is a similar problem to RpbertS's listed a little while ago but unfortunately not yet answered.
I have a report with 2 fields that are bound ole objects (scanned signatures). The second signature needs to be printed only if the report contains letters that are barcoded.
So I'm trying to do a very simple onOpen event that looks if all the barcoded fields (there are 4 fields) are null, or value of zero, and if they all are then the second signature ole is not visible.
I just don't seem to be able to get it right. I assumed it would be as simple as the following:
------Code------
If IsNull(Me!Field1) And IsNull(Me!Field2) And _
IsNull(Me!Field3) And IsNull(Me!Field4) Then
Me!Signature2.Visible = False
End If
------Code------
If anyone could tell me where I'm going wrong I'll be a much saner person!
Thanks
I have a report with 2 fields that are bound ole objects (scanned signatures). The second signature needs to be printed only if the report contains letters that are barcoded.
So I'm trying to do a very simple onOpen event that looks if all the barcoded fields (there are 4 fields) are null, or value of zero, and if they all are then the second signature ole is not visible.
I just don't seem to be able to get it right. I assumed it would be as simple as the following:
------Code------
If IsNull(Me!Field1) And IsNull(Me!Field2) And _
IsNull(Me!Field3) And IsNull(Me!Field4) Then
Me!Signature2.Visible = False
End If
------Code------
If anyone could tell me where I'm going wrong I'll be a much saner person!

Thanks