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.

Secure records based on a date range

Featured Replies

I am trying to limit access of some users to certain records based on a date range.

In a calculation I would like to specify a date range of 90 days prior to todays current date and 30 days ahead of todays current date.

I tried:

> get(current date)-90 and < get(current date) +30

This did not seam to work very well. I am sure there is a way to do this.

Any help is appreciated.

Thanks

Greg

Try =

Let ( 

diff = YourDateField - Get (CurrentDate)

;

-90 < diff and diff < 30

)

I am trying to limit access of some users to certain records based on a date range.

In a calculation I would like to specify a date range of 90 days prior to todays current date and 30 days ahead of todays current date.

I tried:

> get(current date)-90 and < get(current date) +30

This did not seam to work very well. I am sure there is a way to do this.

Any help is appreciated.

Thanks

Greg

OK, there must be a creation date in each record, preferably automatically entered when the record is created. Then compare that date to your range. If the record falls within the date range range, users in the given Privilege Set can see it. If it does not, then they cannot see it. These access tests are Boolean. They must return a true result in order for the user to see the records.

If you have a large record set, this can be slow over the Local Area Network.

Steven

  • 2 weeks later...
  • Author

Thank You!

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.