|
-
Nov 3rd, 2005, 09:37 AM
#1
[RESOLVED] Passing Currency Variable From Subreport to main Report
Ok I have a main report with a couple subreports. I am able to successfully pass numberVar variables from the main report to the subreports but when I try to passs a currencyVar from the subreport to the main report it just gives back a value of $0.00 on the main report.
I declare the variable in the sub report as
Shared currencyVar myTotal := {@TotalCost};
myTotal
then in the main report i call it in a section below the section containing the subreport as
Shared currencyVar myTotal;
myTotal
when i place this variable inthe subreport it comes back as the correct value, but in the main report I just keep getting $0.00. Can anyone help me out?
thanks in advance
oh ya, I am using Crystal Reports 9 and ms access 2003
-
Nov 3rd, 2005, 11:24 AM
#2
Re: Passing Currency Variable From Subreport to main Report
Is the Subreport suppressed? Is the section where the SubReport is sited suppressed?
-
Nov 4th, 2005, 10:43 AM
#3
Re: Passing Currency Variable From Subreport to main Report
No It's not, But I actually Solved this on my own. Stupid mistake, I had my section linking wrong. thanks though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|