Skip 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 with a scripted find for next week's records

Featured Replies

I'm trying to figure out how to script a find to pull up next week's depos. I'm using FMP to manage a depo schedule and every Wed and Fri of the current week we need to report to the client what depos are scheduled the following week. I'm using FMPv10 (advanced) and we have the solution hosted on FMSv10.

I'm using global calc fields to evaluate what today's date it, and add x number of days depending on what day of the week today is. For the end date of the range I'm taking the results of the start date calc and adding 4 days.

For whatever reason, its not updating or refreshing the date range as we proceed through the week.

Anyone have a solution or know of a previous post that will show me the proper way to set this up on a hosted solution so that each user when running the reports can have FMP automatically pull up next weeks records?

Thanks

I'm using global calc fields to evaluate what today's date it

Global calculations are stored and will not recalculate on their own. You should use unstored calculations - but you don't actually need any fields for this. Try:

Enter Find Mode[]

Set Field [ Datefield ; Let ( sat = Get (CurrentDate) - DayOfWeek ( Get( CurrentDate) ) ; sat + 8 & ".." & sat + 14 ) ]

Perform Find[]

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.