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 6805 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I can't think of the answer at the moment. If I create a simple Yes/No field, how can I set and store the actual date when the field was set to "Yes" and maintain the stored date?

Posted

You can create a second field that is an auto-calculation (Set it as a Date field and then click on "Options" and calculated values"

Set the calculated value to:

If( field = "Yes"; Get(CurrentDate); "")

Make sure that the auto-calculation is checked to NOT replace. That way once the field is marked as Yes, the calculated field will enter a date and it won't change from there. Now if you want it to change if someone clicks Yes, then No, and clicks Yes again tomorrow and you want tomorrow's date, you do want the value to be replaced.

Posted

Man! what a bad habit I have of not reading what version people are on!

Sorry :P

Posted

Use a Field Modification or Audit approach. There are several example files made in v5 and posted to the forum. Due a search for Audit in the Sample File Topic Area, and there is at least one by BobWeaver.

Also, check this file Auto-Date-Stamping a Field Entry

available at Here

HTH

Lee

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