Visible

lead 27

Registered User.
Local time
Today, 14:57
Joined
Mar 24, 2007
Messages
147
HI Everyone

i have a field in my table (min qty) which needs to be filled in once when entering a new record but I dont want to show it on the form all the time. How can I have it so that when the ref number is blank the field is visible and once information has been entered it is invisible? I have tried this on the forms current event:
If Nz(SEC_REF, "") = "" Then
Me.MIN_QTY.Visible = True
Else: Me.MIN_QTY.Visible = False
End If

but doesnt seem to work

Any Ideas??
 
Try:
Code:
If Len(Me.SEC_REF &  "") = 0  Then
   Me.MIN_QTY.Visible = True
Else
   Me.MIN_QTY.Visible = False
End If
 
Thanks for the reply.

yeah that works great
 

Users who are viewing this thread

Back
Top Bottom