Jump to content
  • 0

I need a tabular report DataPage that shows all records from table A that DON'T have a corresponding record in TableB with a date after today.


BrianI

Question

I have TableA with a one to many relationship with TableB

TableB has a date field.

I need a tabular report DataPage that shows all records from table A that DON'T have a corresponding record in TableB with a date after today.

 

I thought this would be really easy but for some reason I can't see it.

 

Thanks for any hints.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @BrianI

Here is what you can do:

1. Add a checkbox field to your Table A. This checkbox will indicate whether there are related records in Table B
2. Add triggered actions on Table B's insert, update, and delete events. These triggered actions will check or uncheck a checkbox on a related Table A record based on your specified condition.
3. Add an application task that will run once a day to loop through all records in Table A and check if they have related records in Table B with a date after today. 
4. Build a view based on Table A to filter out records based on the checkbox.
5. Build report DataPage based on this view

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...