473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Data Report Grouping/Group header - How to?

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:

Doctor_Name
Address
Sched
Laboratory
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?

Thanks.
Sep 24 '07 #1
3 3058
hariharanmca
1,977 1GB
Right click on the Detail bar and select
Group Header/Footer
Sep 24 '07 #2
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
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
  1. dataenvironment1.connection1.open
  2. Call dataenvironment1.Command1 (cboDocName.text) '<---its a parameter
  3. datareport1.show
  4.  
Please help me. Thanks.
Sep 25 '07 #4

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

Similar topics

1
by: Shiz | last post by:
I currently have a Form with Option buttons (to give you the option of sorting by name, or by Field, etc), these are referenced in a module which then formats the report contingent on the option...
2
by: Rob | last post by:
Hi, I have an access 2000 application.I generate a report with Query as the recordsource.This report is the analysis of data Vendorwise.The vendors are listed in ascending order...
6
by: Mike MacSween | last post by:
I have a report based on: PARAMETERS Forms!frmProductions!ProdID Long; SELECT Sum(qryRoleEvent.Fee) AS SumOfFee, First(qryMusician.LastName) AS LastName, First(qryMusician.FirstName) AS...
0
by: Megan | last post by:
Data Comparison: Sample Versus Rest of Population. I have a population of data, and I want to take a sample of that population and compare it against the entire population. I have a database...
1
by: pemigh | last post by:
I have a report with pages breaking in the middle of text box controls. And it's not just on a line-by-line basis, but sometimes (in a situation that I can no longer recreate) just the bottom...
4
by: ApexData | last post by:
I have one table used to maintain information on Service Events. Each record contains a Repair, Maint, and Battery checkbox (bound/boolean). Any one of these fields may be checked or left empty....
0
by: mafandon | last post by:
This seems easy, but can't seem to get past it. Using VB 2005. In my report viewer for a windows forms app not using sql 2005 reporting services. I can get the grouping to work just fine and...
0
by: mafandon | last post by:
This seems easy, but can't seem to get past it. Using VB 2005 report viewer for a windows forms app not using sql 2005 reporting services. FIRST - I apply a bindingsource.filter to my...
5
by: Ralph | last post by:
Hi Everyone, I need some help!! I'm not sure if you could do this, but I want to be able to create a report based on one field in the database. This field contains File Paths like for example: ...
1
by: Dave | last post by:
How does one go about formatting reports? I am having trouble grouping specific items together with each other. I can't get all the information umbrella'ed under one specific source. I have 2...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.