Jump to content
Server Maintenance This Week. ×

Secure records based on a date range


This topic is 4685 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

This topic is 4685 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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