I’m developing a claim tracking database that tracks dates of events that occur in the course of processing a claim; such as, Loss Date, Report Date, Estimate Date, Payment Date, etc.
I currently have the following tables set up:
tblClaim
ClaimID
ClaimNumber
tblEvents
EventID
EventName
tblClaimEvents
ClaimEventID
fkClaimID
fkEventID
EventDate
One of the main goals of this database will be to calculate the length of time between dates, i.e. Report Date to Payment Date = 15 days. How would I write a query to calculate that with the dates all being in the same EventDate field?
I will have to do the same calculation in a form also, for example if Event A occurs before Event B, then calculate time from Event A to B.
Thanks
I currently have the following tables set up:
tblClaim
ClaimID
ClaimNumber
tblEvents
EventID
EventName
tblClaimEvents
ClaimEventID
fkClaimID
fkEventID
EventDate
One of the main goals of this database will be to calculate the length of time between dates, i.e. Report Date to Payment Date = 15 days. How would I write a query to calculate that with the dates all being in the same EventDate field?
I will have to do the same calculation in a form also, for example if Event A occurs before Event B, then calculate time from Event A to B.
Thanks