I have a Sub-Report that takes 2 date parameters (Start and End date)
A Main-Report that has Sub-report nested in it. When I refresh the report, I get a prompt to enter the dates.
All I'm trying to do is display those dates in (start date - end date) format on Main-Report.
Here's what I tried.
Created a formula (SharedStartDate) in Sub-Report as
Shared StringVar startDate := ToText({?@start_DT},"MM/dd/yyyy");
startDate;
Created another formula in Main-Report with the same name (SharedStartDate)
Shared StringVar startDate;
startDate
When I use this formula in the main-report, I get empty text.
I'm not sure what Am i doing wrong, I'm pretty new working with CR
Thank you guys in advance for any suggestions.