By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

Data Report Grouping/Group header - How to?

P: 13
I'm new with VB 6 Data report.
I want to use it to create simple reports that can group by specified field.

Ex. Fields:

Count(Laboratory) as LabCount

I want to place Doctor_Name,Address, Sched on the group header,
but i dont know how. Then Laboratory and LabCount in Detail section.
Can somebody show me the step by step procedure on how to create it
or sample codes?

Sep 24 '07 #1
Share this Question
Share on Google+
3 Replies

P: 1,977
Right click on the Detail bar and select
Group Header/Footer
Sep 24 '07 #2

P: 13
Thanks Hariharanmca for the reply. I've tried it but Im getting this error "Report section do not match the data source". How can I solve this. Thank You.
Sep 25 '07 #3

P: 13
I've already created a Label and Textbox on the group header section and Set its DataMember and DataField on the properties window. Still Error occurs: "Report section do not match the data source".

And I use this code to call the report on click event:
Expand|Select|Wrap|Line Numbers
  2. Call dataenvironment1.Command1 (cboDocName.text) '<---its a parameter
Please help me. Thanks.
Sep 25 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.