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

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

Recommended Posts

Posted

Looks like in

Record Priveleges >

I have set this calculation on the edit option

( creator = Get(AccountName) ) and ( date Entered + 13 ≥ Get(CurrentDate) )

Which I believe will work...

Posted

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 .

Posted

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.

Posted

I believe (I don't normally run files this way) that the host time stamp will come from whatever computer Hosts the files, even if it is not done with an FM_Server App.

  • 2 weeks later...
  • Newbies
Posted

Hi, notice that the "timestamp for host" does not applicable to "Auto-Enter" - modification.

Is there any better way to do so ?

Thanks a lot.

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