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

Recommended Posts

Posted (edited)

I have a 'Follow Up Date' in my contacts table as well as in my 'Call Data' table. I use the Follow Up Date (FU_Date) for my Follow Up script. It determines what records show in my layout. I use this if, for instance, I don't get to all my calls within a given period. By resetting the FU_Date I can have the record continue showing up until completed. On the other hand if I call a contact I set my 'Do When' field as the follow up date. I tried to create a calc where the 'FU_Date' would set to either the greater of the 'Do When' Date or the 'FU_Date.' See below:

med_1206991889-Date_Calc.jpg

Problem:

It will only reset the 'FU_Date' when I physically go into that field and attempt to set a date. How can I make it recalculate immediately? I have an "Enter Data' button which commits the record, but, that doesn't update the field.

Any suggestions would be appreciated.

Al

Date_Calc.jpg

Edited by Guest
Posted

Since you're checking data in a related table, you can't use a Date field with an auto enter calculation. You need a Calculation field with a Date result and it needs to be set to unstored.

Or you could keep it a Date field and have your "Enter Data" button Set Field[] the field to the calculation instead.

BTW, I don't think Last() is the best function for what you're trying to do. Max() is a better choice.

Posted

Soren:

What's Ugo's method?

DJ:

So I need to change FU_Date to a calc field? But, then the 'Do When' field is the only place to enter the FU_Date? I tried using scriptFire and zippscript, but, I can not get them to fire the script I want. Perhaps 'Event Script?'

I tried both these commands in the 'Do When' field:

"zippScript_PerformScript("SearchGroupDB"; "Set Follow Up Date")"

"SFire_AddScriptTask( "FU_Date"; "Set Follow Up Date")"

Posted

Soren:

What's Ugo's method?

Exploitation of tunneled relations, via the state of the data a record actually holds...

Take a look at the template:

--sd

Billede_2.jpg

aldipalo.zip

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