need alittle help with a check box

Jon123

Registered User.
Local time
Today, 17:06
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
 
Code:
if yourcheckboxname=true then 
lock the field
else
end if
 
if Me.step205.Locked = Not IsNull(Me.step205) = true then
lock the field
else
end if
 

Users who are viewing this thread

Back
Top Bottom