Jump to content

This topic is 8465 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

quote:

Originally posted by yalebulldog:

Is there a way to lock a field after the data has been enter? Thanks for the help

Eli, Eli. Eli....

Sure. Create a number field called "validation", auto enter data = 1.

Have your other field validate against that field Validation.

After you enter the data, have the number changed from 1 to 0 by script. Thereafter, as long as the Validation field =0, the data in the other field can not be changed by the user. It could be changed by script in some instances.

HTH

Old Advance Man

Posted

I make a script, and attach it to the field on the layout (so the field is a button). The script is simply:

code:


Allow User Abort [off]

If [isEmpty(field)]

Go to Field [field]

Else

Exit Record/Request

End If


If the field is empty they can enter it. If it is not empty the script keeps bumping them out. Obviously this only works if the user cannot select another layout.

Posted

In my experience, if "allow entry into field" is unchecked, there is *no way* to enter the field.

Either way, the original post was about having control over data entry, not just locking users out.

This topic is 8465 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.