PQTIII
IS-IT--Management
- Sep 21, 2004
- 110
I have these fields @startdate ans @enddate that finds the min(date) and max(date) and then returns it to the main report as a date range heading. I'm not sure how to use date variables.
I tried this:
Sub report-
WhilePrintingRecords;
shared datetimevar sdate :=Minimum ({hist_exproot.shiftdate})
When I used this it says " a variable cannot be redeclaried with a different type," but the {hist_exproot.shiftdate} is a DateTime field. How do I pass this min date back to the main report?
Thanks Paul
I tried this:
Sub report-
WhilePrintingRecords;
shared datetimevar sdate :=Minimum ({hist_exproot.shiftdate})
When I used this it says " a variable cannot be redeclaried with a different type," but the {hist_exproot.shiftdate} is a DateTime field. How do I pass this min date back to the main report?
Thanks Paul