| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
passing parameter from subreport to main report
Hi.. I have a problem passing value from subreport to main report.
I have following code in a formula in a subreport, where I am using shared variable. I should get #Total Billable Amount value into total_asr_value. (#Total Billable Amount value is correct and I am getting it). if Isnull({#Total Billable Amount}) then shared numberVar total_asr_value := 0 else shared numberVar total_asr_value := CDbl({#Total Billable Amount}) In the main report, I defined in a formula as below: shared numberVar total_asr_value But I am not getting the value here. Help is greatly appreciated. Thank you. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|