Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Date Calc

Featured Replies

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

  • Author

Anyone have any suggestions?

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.

Shouldn't this be solved with Ugo's method??

--sd

  • Author

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")"

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

  • Author

Soren:

Thanks, it's very interesting. I'll take it apart this weekend and see if I can grasp it.

Al

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.