Hello,
In Crystal Reports, I have a main report with multiple sub reports that is essentialy printing the same information. I have created shared variables (PrtFromTime, PrtToTime, PrtFromDate, PrtToDate) within formulas to print both dates and times on the reports. The same variables are in all reports. In some cases I need the date or time to print, and others I do not. I have those selection criteria in the formulas. However once a valid condition is met, and the variable is populated and printed on the report, because it is a shared variable the value is perpetuated in the remaining reports. I need to create a formula to initialize these values in the report header of each report so that the fields are initialized and nothing is printed on the remaining reports. Can anyone please provide an example of how to do this? THANKS!
In Crystal Reports, I have a main report with multiple sub reports that is essentialy printing the same information. I have created shared variables (PrtFromTime, PrtToTime, PrtFromDate, PrtToDate) within formulas to print both dates and times on the reports. The same variables are in all reports. In some cases I need the date or time to print, and others I do not. I have those selection criteria in the formulas. However once a valid condition is met, and the variable is populated and printed on the report, because it is a shared variable the value is perpetuated in the remaining reports. I need to create a formula to initialize these values in the report header of each report so that the fields are initialized and nothing is printed on the remaining reports. Can anyone please provide an example of how to do this? THANKS!