Jump to content

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

Recommended Posts

  • Newbies
Posted

I have a database used to register soccer players. Two date fields included are FIRST_ENTERED & LAST_MODIFIED. Filling these with creation date and last modified is simple, but I need something else.

Another field is REGISTRATION_STATUS. This is a text field who's values come from a value list (Registered, Pending, Drop, Refund, etc...). Registration Status is selected from a group of radio buttons.

I would like to have a date field that is filled with the current date whenever REGISTRATION_STATUS changes from "Pending" to "Registered".

Can this be done in FM Pro 4.0v1

Posted

OK

In your new date field create an auto entered calculation.

If( REGISTRATION_STATUS = "Registered", Status(CurrentDate),TextToDate(""))

This way, if the data changes from pending to registered todays date will fill in, otherwise it will be left blank.

HTH

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