Calculating dates
-
- Posts: 170
- Joined: Tue Oct 10, 2017 12:44 pm
Calculating dates
I have a master table linked to a detail table, which contains date-oriented records. How would I calculate the difference between the earliest detail record, and the latest one, for a given master record?____thanks__Fred__
=> RE: Calculating dates
You would need to create two totals that take the min and the max of the date and then place them on a detail footer band.____Kathleen__R&R Support
-
- Posts: 170
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Calculating dates
I tried that but only the MIN() worked, it gave me a date. The MAX() gave me a zero.____I am using SQL 8.1
===> RE: Calculating dates
Do you have records where the date field is blank?____Kathleen__R&R Support