Hey John,
I figured out what I was doing wrong. The textbox name is SQL Batch (w/space) not SQLBatch. I added an underscore to replace the blank and presto, success.
Now, I have three others fields on the same form that I want to do this to.
In the following example, is this all I need...
OK, This is what I have in my Forms
"Current Event" [Event Procedure]
Private Sub Form_Current()
If Nz(SqlBatch, "") = "" Then
Label22.Visible = False
Else
Label22.Visible = True
End If
End Sub
With this the labels gone completely. What am I doing...
Ok, one thing I am not understanding... The comments in
Your script:
Nz(PrpCity,"")=""
lblPrpCity
Is this where I add my field names and labels?
My script:
Nz(label22,"")=""
lblLabel22
Do I need to add the "lbl" to the beginning of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.