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.

next seven day search

Featured Replies

Hi all,

Please be gentle I am a newb!

I need to generate a report that only shows me clients that have a job booked in within the next seven days.

How do I set up a script to do this?

Thanks in advance!!

Edited by Guest

Enter find mode() /* pause unchecked

Set Field(datefield; get(currentdate)& "..."& Get (Currentdate)+ 7)

Or set up 2 new date fields:

Startdate

enddate

/* Of course you need to have these fields on the layout and need to input the dates prior to running the script. You could make them a calc field. StartDate = Get(Currentdate); enddate=get(currentdate + 7) */

Set Field(datefield;startdate &"..." & enddate)

Perform Find()

Edited by Guest

  • 4 weeks later...
  • Newbies

Hi

I'm jumping on the train right here, as I have a similar question:

I want to see all entries which are older than 180 days.

I tried the following script, but without success:

Action: Find records

find criteria: Date﹝≤(//-180)﹞

No success, all of the entries appear (even these younger than 180 days.

Is it possible like this?

Thanks in advance for any comments.

Harry

The "//" unfortunately doesn't work like that.

You'll need a script more like aldipalo shows, with something like:

  Set Field( dateField; "<=" & Get(CurrentDate) - 180 )

as your dynamic find criteria.

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.