Adam McReynolds
Registered User.
- Local time
- Today, 14:29
- Joined
- Aug 6, 2012
- Messages
- 129
I am trying to make a label visible on a form during print if a field has "like a string". We use a form so that it prints 3 forms to one page (They are tags for units for repair). I can get the label to be visible in the form view but when I print, the label is visible on every record where it is only visible on the current record in form view. My goal is to have the label only show on those records where the condition is met. Here is my code that works in form view only:
(It is to designate easier a warranty tag from a new repair tag)
I have attached an image of a tag sheet
. As you can see if I got my desired result only the first tag would have a W.
Thanks for any input.
(It is to designate easier a warranty tag from a new repair tag)
Code:
If Me.Problem_Description Like "Warr*" Then
Me.lbl_w.Visible = True
Else
Me.lbl_w.Visible = False
End If
I have attached an image of a tag sheet
. As you can see if I got my desired result only the first tag would have a W.Thanks for any input.