Hi,
I am very new to crystal so please be patient with me
In my selection criteria I have choosen a date field that is between 7/1/03 and 6/30/04. I want the Page header to show that date range so that the person I am sending the report to know what dates are in the report (and I don't want to have to type it each time I change the dates). I did find a fomula that I put into the Format editor under display string and it gets me close. But it doesn't show the total date range. It will only show the first day that I have an entry for. Any help is very much appreciated !
Jodi
if HasLowerBound ({tblNotice.IntentFirstPub}) and HasUpperBound ({tblNotice.IntentFirstPub}) then
"Date Range:" + ToText(Minimum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy") + " to " +
ToText(Maximum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")
Else if HasLowerBound ({tblNotice.IntentFirstPub}) then
"Date Range: After " + ToText(Minimum ({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")
else "Date Range: Before " + ToText(Maximum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")
I am very new to crystal so please be patient with me
Jodi
if HasLowerBound ({tblNotice.IntentFirstPub}) and HasUpperBound ({tblNotice.IntentFirstPub}) then
"Date Range:" + ToText(Minimum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy") + " to " +
ToText(Maximum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")
Else if HasLowerBound ({tblNotice.IntentFirstPub}) then
"Date Range: After " + ToText(Minimum ({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")
else "Date Range: Before " + ToText(Maximum({tblNotice.IntentFirstPub}),"dd-MMM-yyyy")