DavidBerndt1
4 years agoQrew Member
unrelated relationships
In our app we have the primary set of tables and then some that I would call "supporting" tables. The issue is at the lowest level, I may have all the necessary data to build a relationship but it doesn't really exist all the way to the top so I can ensure I'm matching the right records. Here I go to try to explain it a bit
The Site Authorization has the Provider, Study and Site and this Auth Date
The Event has the Study, Site, and Provider and the Event Date
We need to develop a report at the event level that provides the number of days between the Authorization Date and the Event Date. I cannot see how to build the relationships that can get Auth date up the chain and back down to the Event table. A "join" would be pretty simple but since that isn't an option - any suggestions?
------------------------------
David Berndt
------------------------------
The Site Authorization has the Provider, Study and Site and this Auth Date
The Event has the Study, Site, and Provider and the Event Date
We need to develop a report at the event level that provides the number of days between the Authorization Date and the Event Date. I cannot see how to build the relationships that can get Auth date up the chain and back down to the Event table. A "join" would be pretty simple but since that isn't an option - any suggestions?
------------------------------
David Berndt
------------------------------