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.

Help performing a find

Featured Replies

I'm trying to print a report to include records in a range of dates in the "Send Date" field. Ideally I'd like the report to be for the week ending xx/xx/xxxx. Barring that, I'd like to have the user input the beginning and ending dates manually and perform a find based on the user input.

I have set up a screen for the user to enter the date range like this "xx/xx/xxx...xx/xx/xxxx" but would like to find a tighter way of doing this as it is not intuitive and requires the user to be trained in what format to enter the date range in.

Have the user input the week ending date into a global date field, then

Enter Find Mode [ ]

Go to Layout [one with Send Date on it]

Insert Calculated Result [send Date; DateToText(gdate - 6) & "..." & DateToText(gdate)]

Perform Find [ ]

This is, of course, assuming the end of the week is Saturday.

  • Author

aack! So simple I should have thought of it!!

Just one thing, DateToText is not available in FMPRO7 (as far as I can see), however this worked:

Insert Calculated Result [send Date; gdate - 6 & "..." & gdate]

Thanks so much for the help!

Ack! I meant GetAsText. DateToText is usually required when searching for a range. I wonder if that's changed in FM7?

I just tested Set Field [table::datefield, table::globalDate1 & "..." & table::globalDate2] and it worked! Apparently Insert Calculated Result and GetAsText are no longer required for finding date ranges.

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.