Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting Date Ranges to an Incident Date

Status
Not open for further replies.
Sep 6, 2013
3
US
I am working on a report for a hospital. I am using two tables to show reportable incidents and the hospital unit they occured on. One table has the data showing the date range a patient is on a particular Hospital Unit. The other is a table for the reportable incidents. A patient can have multiple Unit records and multiple Incident records.

I am having trouble showing the patient connected to the correct unit the incident occured on. I am trying to write a formula to say if the incident ocured in the range range of one of the unit records for the patient select the corresponding unit from the Unit record to show on the report.

Any ideas for making this work?

Thanks!
 
Is this Avatar? If it is there are other ways to get to the unit on a date.
 
Yes I am working in avatar. What table is best to grab the Unit information from?
 
Thanks so much! I am still figuring out the table structures and that got me exactly the information I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top