Jump to content

Lock Record


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

Recommended Posts

OK I finally got this working the only way I could lock a record after 14 days is to use this calculation...

date Entered > Get ( CurrentDate ) -13

date Entered being a value inserted into the field date Entered when the record is created, this is a non modifiable date set using the Field Options.

I hope that helps some people .

Link to comment
Share on other sites

warning - using the Get(CurrentDate) gets the date from the local computer and if the user has the ability to change the date/time on thier computer they could access anything they want to by ajusting it. If the file is hosted using a FM server you might be better off to use the Get(CurrentHostTimestamp). That would be pulled from the server and the end user would not have any access to it. Additionally, if the PRAM battery in the computer goes bad (and they do once in a while) it could also cause unexpected results.

Link to comment
Share on other sites

  • 2 weeks later...

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