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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem when executing crystal report from VB 6

Status
Not open for further replies.

pedcab

Instructor
Jan 9, 2003
10
0
0
CA
I have created a report using environment and the crystal report ocx

When i run detail works fine

Whenever i tried to insert a group band and enter one of the fields from the database (group by)

the following message appears

"Report sections do not match data source"

 
Please give the version of Crystal that you are using and code snippet. When you say "environment and the crystal report ocx," I would assume you mean the VB IDE and the Crystal OCX referencing a report RPT file.

I've done a fare amount of programming using the scenerio.
 
I am sorry that i was not clear.

I have a data report and a data environment set up

so the problem is when I insert the group band.

Do i remove group by from the select statement and i select the tab for grouping?

thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top