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

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

Recommended Posts

  • Newbies
Posted

Simple question--I want a specific field to 'auto enter' the current date every time the file is opened. Can someone help me.

Posted

Create a script to Set Field[g_MyCurrentDateField; Get(CurrentDate)]. A global field sounds like the way to go here.

Then set the script to run when the file is opened.

File>File Options

Open/Close tab

Check the Perform Script box under "when opening this file" and then select your new script.

  • Newbies
Posted

thanks very much, that works for the current record being viewed at the time the entire file is opened, however all the other records in the file have not been auto-updated. Any way to do this so all the records in the file are updated also.

Posted

As sbg2 suggested, make the field a global. That way the same value will apply to all records.

How do you make it a global?

define database>fields>select field>options>storage

Phil

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