J
Jonathan Blitz
Access 2003 ADP
I have code where I set or unset a watermark according to certain rules.
This code is run on the "retreat" event:
Private Sub InhouseCodeGroupHeader_Retreat()
Select Case Me.Status
Case "OP"
Me.Picture = ""
Case "CL"
Me.Picture = "C:\Commissions Phase II\Watermarks\Not For
Payment.JPG"
Case Else
Me.Picture = "C:\Commissions Phase II\Watermarks\Internal Use
Only.JPG"
End Select
End Sub
The setting of the watemark works OK but the line that is meant to remove it
just does nothing!
It runs the code (I put a break there) but nothing happens and the value of
Me.Picture stays the same as it was before.
I CAN change it to another image but not to nothing.
What am I doing wrong?
Jonathan Blitz
I have code where I set or unset a watermark according to certain rules.
This code is run on the "retreat" event:
Private Sub InhouseCodeGroupHeader_Retreat()
Select Case Me.Status
Case "OP"
Me.Picture = ""
Case "CL"
Me.Picture = "C:\Commissions Phase II\Watermarks\Not For
Payment.JPG"
Case Else
Me.Picture = "C:\Commissions Phase II\Watermarks\Internal Use
Only.JPG"
End Select
End Sub
The setting of the watemark works OK but the line that is meant to remove it
just does nothing!
It runs the code (I put a break there) but nothing happens and the value of
Me.Picture stays the same as it was before.
I CAN change it to another image but not to nothing.
What am I doing wrong?
Jonathan Blitz