Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally available checkbox

Status
Not open for further replies.

lisaharris

Programmer
Feb 12, 2007
130
US
Is there a way to lock (or hide) a checkbox if the contents of another field is not null?

On one form, I have a processing date and a delete checkbox along with other information. If the item has been processed (in which case the processing date is filled in), I want the checkbox to be disabled or hidden.

__________
Veni, Vidi, Visa: I came, I saw, I charged it.
 

Something like this?
Code:
If DateField = spaces or DateField Is Null Then
    Me.Checkboxname.Visible = False
Else
    Me.Checkboxname.Visible = True
End If

Randy
 
Me![delete checkbox].Visible = Not(IsDate(Me![date control]))

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top