Hi,
I am trying to return the from and to dates in a message string when there are no records returned after the user enters the dates to parameter named ?date.
The formula is currently: -
if(isnull(GroupName ({AccountPool.Name}))) then "NO DELETIONS FOR PERIOD FROM " + totext({AuditTrail.TimeChanged},"dd-mm-yyyy") + "TO " + totext({AuditTrail.TimeChanged},"dd-mm-yyyy")
which is rubbish 'cos Crystal obviously does not know which is the from and to date.
I tried using the paramter in the formula but it asks for a valid date field.
Any ideas would be much appreciated.
T
I am trying to return the from and to dates in a message string when there are no records returned after the user enters the dates to parameter named ?date.
The formula is currently: -
if(isnull(GroupName ({AccountPool.Name}))) then "NO DELETIONS FOR PERIOD FROM " + totext({AuditTrail.TimeChanged},"dd-mm-yyyy") + "TO " + totext({AuditTrail.TimeChanged},"dd-mm-yyyy")
which is rubbish 'cos Crystal obviously does not know which is the from and to date.
I tried using the paramter in the formula but it asks for a valid date field.
Any ideas would be much appreciated.
T