|
-
May 26th, 2008, 01:57 PM
#1
Thread Starter
New Member
Datareports in VB6
Hi
I'm having a problem with the datareports in vb6. My report consist of a couple of groups with function controls to calc totals for each group. How do I add (sum) the totals I get from my functions and display the result in a label?
Thanks
-
May 26th, 2008, 08:23 PM
#2
Re: Datareports in VB6
You can't display using a label. If in addition to Sum(A), Sum(B), and Sum(C), you want to display using data report textbox Sum(A) + Sum(B) + Sum(C), THEN you will have to include A+B+C column in the data source/recordset/command object. Once A+B+C column is available, you can place a function control to SUM(A+B+C column).
Data report works with the data source, it doesnt access values from what was already outputted/rendered/generated or doesn't access values from it's controls during report generation.
-
May 27th, 2008, 06:19 AM
#3
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
|