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.

How do you find records for a week?

Featured Replies

I have records with the field "Call Back Dates" that has the date when I should call the person back.

I would like to find all the records that need to be called back in the current week.

Can you suggest how to construct a script that would take a date (Current date or entered date) and display all the records that should be called in the week containing that date?

For exmaple, if I were to enter 6/22/04 or 6/23/04, it would display all records that need to be called from 6/21/04 to 6/27/04.

Is there a way to display records for that week AND the dates before? (In case I missed calling someone last week)?

Thank you!

Why not have a global field defined as date, auto-enter calc (replace current contents) such that no matter what date you type in, FM replaces it with its upcoming Friday:

CheckDate+(7-(DayOfWeek (CheckDate+1 )))

Now, make a relationship between this global field and any CallBackDate that's equal or less than it. (Nice new feature of FM7!)

I take it you either change the CallBackDate or have some way of checking it off if the call was already made?

Oops -- there's more to your request: then set up a script that "goes to related records" across this global-to-callback relation, and attach it to a button next to your global check-date field. You may also want a portal on that relation, for very quick scans!

Seems like that new WeekOfYear() function could come into play here too. Just a thought.

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.