Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't get Data Report to Show Special Totals!

Status
Not open for further replies.

splaisance

Programmer
Jul 2, 2001
67
US
Hi,

I am using a data report connected to a data environment. My problem is that I need to calculate totals for each group - but not one of the predefined functions VB allows you.

Basically Total1 is sum of this years numbers.
Total2 is sum of last years numbers.

These i use the sum() function on fine... but i also need the following:

Total3 is Total1 - Total2
Total4 is Total3 / Total2

Can anyone help me? I have tried EVERYTHING I can think of and still no luck!!! :(

Thanks!!

-S

 
Why don't u do this operation just manually.

U get it through
"report.sections("ursection").lblWhatever.caption"
Try this. It's the best I have right now.

 
Thank you both!

With your input and a couple of days playing... I am finally getting what I want in my test reports.

S-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top