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.

Constrain data using a date range

Featured Replies

Hello,

Can someone please please please help me. If I had hair I would be pulling it out right about now!!!

I have a succesfuly written a script which constrains a set of data to one particular order type IE: Quote from four possible order types (Quote, Invoiced, Reservation and Hold). That part was easy.

Now I want to further constrain that list to those orders that fall within a date range, specifically from Today's date to Today's date plus seven, basically omitting records which fall outside that date range.

I need to be able to do this from within a script, with no user input, and without dialogue.

Essentially what I am trying to do is produce six different reports from one set of master data and have the user press one button to populate and sort all of the reports.

If I could get this date range thing sorted, the rest of the reports would be easy to do.

Please help, I am desparate!!

Cheers

Try:

Enter Find Mode []

Set Field [ YourTable::Datefield ; Get (CurrentDate) & "…" & Get (CurrentDate) + 7 ]

Constrain Found Set []

  • Author

Try:

Enter Find Mode []

Set Field [ YourTable::Datefield ; Get (CurrentDate) & "…" & Get (CurrentDate) + 7 ]

Constrain Found Set []

Brilliant, works like a dream, thank you so much.

I spent about six hours trying to get that to work!!!

It's all here:

http://www.filemaker.com/11help/html/find_sort.5.8.html#1028153

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.