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

Recommended Posts

  • Newbies
Posted

Hi, I used FM 6 and there was an option in the calculation field that says "today". That was very useful to display the actual date and to calculate for example days since last exam, etc.

How can I do this in FM7. There is no "Today" option!

Is there another way?

Thanks

Rodrigo, from Chile.

Posted

There is an Insert current date option under insert. Maybe that will help you do what you want.

Hi, I used FM 6 and there was an option in the calculation field that says "today". That was very useful to display the actual date and to calculate for example days since last exam, etc.

How can I do this in FM7. There is no "Today" option!

Is there another way?

Thanks

Rodrigo, from Chile.

  • Newbies
Posted

I have tried with get current date, but it is no dynamic. Its stay in date that the field is modified and I can t use it for dynamic calculation.

I have also tried with scrips but the only modified field is the current record in use and not all records.

Thanks!

Posted

You would need to use a loop Script in combination with the Insert or set field function.

Or

You can use the Replace at the Browser level (Go to Menu - Records - Replace - Replace with calculated result, this will change every record in your found set.

why not tell us what you have now, and what you want to happen. i.e.,

Will this be only a field for the date, or is there other Text in the field too.

Lee

  • Newbies
Posted

I work in an hospital and I want to calculate how many days has passed since a patient was admited to the hospital or since a surgery was done, etc.

There is a list of actual patients and summary of these items. So I need the current date to be actualized each day to keep these up to date.

Thanks!

Posted (edited)

you need to use the function mentioned by comment in the calculation. Be sure that the calculation is "Unstored"

I Keep reading what you want a little differently, Try this calculation and see if it does what you want.

Get( CurrentDate) - YourDateFiel

result will be number

Lee

Edited by Guest
tried to clarify
  • Newbies
Posted

Thanks to all of you I get to a solution.

I made a Script that contained record replace and then a calculation with get(current date). That works great!

Thank to all!

Rodrigo

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