Jump 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.

Featured Replies

Hi,

 

Likely a stupid question but I'm having issues with it the nonetheless; I'm looking to create a script that

generates a list of upcoming events based on a future date "start_date"; my thoughts are that

this script should generate what I'm looking for however it is providing unexpected results (finding past dates

not future).

 

Go to layout x

Set error capture on

Enter find mode

Set field [jobs_id::start_date; Jobs_ID::start_date &  " >"  & Get ( CurrentDate )]

Perform Find [restore]

Sort records [no dialog]

Go to layout y

View as {view as list]

 

 

Calculated result is a date.

 

I can perform a find manually and get the proper results but not by script.

Any thoughts on what I may be overlooking?

 

Jack

 

I think your Set Field is wrong...

 

Seems to try and set it to the value of the field and then > current date?

 

Also, exactly what is then restored from the Perform Find?

 

Try a Ctrl + R after the script has run to see what it's trying to do...

Try

 

Set field [jobs_id::start_date;  " >"  & Get ( CurrentDate )]

Create an account or sign in to comment

Important Information

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

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.