S
spacecadet
I am searching a screen label field for "Transactions". If "transactions" is
found I wrote a small module to put X in a field next to it. However, if
label also includes words like inquiry, browse, or .... then I do not want to
include it. However my code does not work.
If [ScreenLabel] Like "*Trans*" And [ScreenLabel] <> "*Report*" And
[ScreenLabel] <> "*Summary*" And [ScreenLabel] <> "*Browse*" And
[ScreenLabel] <> "*Maint*" Then
ScrnInquiry_Transaction = "X"
End If
thanks,
Sarah
found I wrote a small module to put X in a field next to it. However, if
label also includes words like inquiry, browse, or .... then I do not want to
include it. However my code does not work.
If [ScreenLabel] Like "*Trans*" And [ScreenLabel] <> "*Report*" And
[ScreenLabel] <> "*Summary*" And [ScreenLabel] <> "*Browse*" And
[ScreenLabel] <> "*Maint*" Then
ScrnInquiry_Transaction = "X"
End If
thanks,
Sarah