Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Is there a way to lock a field after an entry has been made? Actually, what I really want to know is if the field can be locked and unlocked based on the contents of a separate field?

Does that make sense?

Thanks

Ken

Posted

You can look at using [FMP-If:] [[FMP-Else] statements. This could determine if the field is presented as an <input> tag or just text on the page.

All the best.

Garry

ps Whoops, thought I was in the CDML section!

[ February 03, 2002, 05:26 PM: Message edited by: Garry Claridge ]

Posted

Go to layout, and in the FILED FORMAT option of the filed, uncheck the ALLOW ENTRY INTO FIELD button. After that, make an script that runs the user through them. If the field number is small you dont even need a loop in the script.

Did you get it?

Posted

Interested in knowing if or how you've worked this out.

The best I have come up with for the same type of situation is a second layout with locked fields and navigating with a go to "layout number from field" and setting that field as an If/Then based on the entry in another field

Posted

Thanks for all the replies.

Philland: Actually, what I did was very similar to the solution you had. I attached a script to the button that goes to the layout in question. The script checks if there is an entry in a certain field. If there has been an entry, it sends them to an identical layout (only with locked fields). So youre solution for the problem is probably one of the best ways.

Ken

Posted

Oh, one afterthought: This way may work for the current record but one problem that still comes up.

If the active record qualifies to go to the locked layout and then you scroll up, that next record is still stuck on the locked layout, regardless.

Ken

Posted

If you use field validation, you can lock individual fields on a per record basis. Then you don't need to switch layouts or worry about locking all records when you only wanted to lock one (and vice versa).

Using lookups or auto-enter, you can cause fields to lock automatically after data has been entered. You can unlock those fields by clearing the lock field(s) with a script.

Posted

Thom:

Do you think you could give me a run down on how to use the field validation? I don't know anything about it, and I'm not a big fan of the FileMaker Help.

Thanks alot

Ken

This topic is 8326 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.