Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Can I lock records for closed jobs?


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

Recommended Posts

Posted

I have a series of related databases, for projects(jobs), clients, and timesheets. I would LIKE to click a button in the projects file and lock all timesheet records relating to that project in the timesheet file (so I don't wind up entering more time on a closed job.) I just can't seem to find a way to do this.

Maybe Lock isn't the right word; I don't want records of closed jobs to be casually modified, but user-level is too global to screen out by job status.

Any ideas, hints, or references? (All files on one machine, with one user, me.)

Posted

The way I'd do it is to make a new field to store weither or not the job is still active. Make a button the runs a script to set the value.

Then in any calcs you check to see what the field is and take approprite action.

Posted

Dulpicate the layout, but change all the fields not to allow entry. Script the navigation and use this "locked" layout when the "locked" field is checked.

Posted

Simple number field, auto-enter value of 1 on creation.

Validate all fields against that field.

When the record is to be "locked" set the field with a 1 in it to be 0.

Then no field that validates against that field can be changed.

HTH

Old Advance Man

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