Jump to content
Server Maintenance This Week. ×

Relationship to show all data from the last two weeks


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

Recommended Posts

I know I must be stupid, but I can't figure out how to make this work. I have a set of data, and I need to display all the data from that set generated in the last two weeks (from current date). This must be done in the current record being worked on live, so it has to be through a portal, not a find. Can someone tell me how to do this?

Thanks :)

J.

Link to comment
Share on other sites

Hi J,

Create a calculation (result is date) maybe called cTwoWeeksAgo with: Get ( CurrentDate ) - 14 and set it to unstored in storage options.

Create a relationship from this field as:

thisTable::cTwoWeeksAgo ≤ otherTable::yourRegularDateField

Place the portal to this other table on your layout. This can also be a self-join.

Link to comment
Share on other sites

This topic is 4296 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.