Reply
 
LinkBack Thread Tools Display Modes
Old 03-29-2011, 01:05 AM   #1 (permalink)
Senior Member
 
Join Date: Mar 2006
Location: Novato (20 miles north of San Francisco)
Posts: 445
fryeguy is on a distinguished road
Default Use Sales Tax Value in Another Subreport

I would like to get at the value for Sales Tax that is calculated by my Sales Tax subreport and add it to the value for equipment in a subreport that calls the Sales Tax subreport.

If I understand the reasoning behind a separate Sales Tax subreport it is because calculating sales tax requires the use of the XML Recordset Pattern for Tax.

Can I access a value from another subreport?
Can I in some way store the value as a variable and pass it from the Sales Tax subreport back to the parent subreport?
fryeguy is offline   Reply With Quote
Old 03-30-2011, 09:19 PM   #2 (permalink)
Senior Member
 
Join Date: Mar 2006
Location: Novato (20 miles north of San Francisco)
Posts: 445
fryeguy is on a distinguished road
Default

Nevermind. I solved this another way: using SetTotalProjectPrice and dtr:TotalLaborPrice. The difference is the value I was looking for.

I'm writing an Equipment Deposit Request by Phase...
fryeguy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.