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

Newbie: Find by previous month, qtr, yr, etc...

Featured Replies

Hello folks,

I'm happy to have now largely set up my new (first) database in FM. Now that the data is in there I am trying to set up some reports. Often we need to return only results in the past month, quarter or other calculated date ranges. How do I set up a search like that without manually choosing the dates?

For that matter, does anyone have an elegant solution to choose from a list of generic date blocks (ageing?)when loading a report?

Thanks,

Evan

There are a number of tricks that you can do with dates. Use the Get ( CurrentDate) function as a starting point. Use the Day, Month & Year functions to get these data. I often use a YearMonth calculate number field = 100 * Year + Month. The first & last day of the month can be obtained by using the Date Function. First = Date (Month (CurrentDate) ; 1; Year (CurrentDate)) & Last = Date ( Month (CurrentDate) + 1; 0; Year (CurrentDate)). FileMaker will take care of Month & Year when current month is December.

I use a separate table for ageing reports. The script deletes all records in this table and then imports the records to be included. Age is based on the report date which is the creation date of the records. It then checks and omits all with 0 balance. It then sorts by customer. Then goes to report layout and the preview mode. It uses relationships to calculate the totals for both customer and grand total.

I updated my sample file for ageing reports to FMP 7. The data is still from 2001. The sript for importing the data has to be completed. The report script needs to have the cleanup script added.

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.