need alittle help with a check box (1 Viewer)

Jon123

Registered User.
Local time
Today, 11:57
Joined
Aug 29, 2003
Messages
668
I have this code on a text field

Me.step205.Locked = Not IsNull(Me.step205)

If the step205 has data when the form opens its locked and cant be edited.
this is what I want so now if step205 was a checkbox field
how would I write the Not Isnull part of the code?

thanks
looking

jon
 

rainman89

I cant find the any key..
Local time
Today, 11:57
Joined
Feb 12, 2007
Messages
3,015
Code:
if yourcheckboxname=true then 
lock the field
else
end if
 

seopositive2

New member
Local time
Today, 08:57
Joined
May 29, 2009
Messages
9
if Me.step205.Locked = Not IsNull(Me.step205) = true then
lock the field
else
end if
 

Users who are viewing this thread

Top Bottom