BlurredVision
Technical User
Attempting to display the minimum value of a datetime field excluding zero... I am using the following 3 formulas
Page Header:
@set
WhilePrintingRecords;
DateTimeVar HighDate := CDateTime (2999, 01, 01, 00, 00, 00);
Detailed Section:
@Get
WhilePrintingRecords;
DateTimeVar HighDate;
If {@Resumed} <> CDateTime (1900, 01, 01, 00, 00, 00) then
If {@Resumed} < HighDate then
HighDate := {@Resumed};
HighDate; //@resumed is just a datetime field
Group Footer:
@Display
WhilePrintingRecords;
DateTimevar HighDate;
HighDate;
I get no results from the above formulas.. Any ideas..
Thanks for any help given.
Page Header:
@set
WhilePrintingRecords;
DateTimeVar HighDate := CDateTime (2999, 01, 01, 00, 00, 00);
Detailed Section:
@Get
WhilePrintingRecords;
DateTimeVar HighDate;
If {@Resumed} <> CDateTime (1900, 01, 01, 00, 00, 00) then
If {@Resumed} < HighDate then
HighDate := {@Resumed};
HighDate; //@resumed is just a datetime field
Group Footer:
@Display
WhilePrintingRecords;
DateTimevar HighDate;
HighDate;
I get no results from the above formulas.. Any ideas..
Thanks for any help given.