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

Vb.net CrystalReport Viewer changing grouping output

Status
Not open for further replies.

rw409168

Programmer
Jul 16, 2009
95
GB
Greetings,

My crystal report consists of the following:-

Sort field
Group field name (boolean field, which I display a count on the footer, therefore should only print TWICE)
Parameter (number used to determine the record selection)

When running/previewing within the IDE and typing in the parameter it works fine and displays my data as expected.

However when passing in the sort field and the parameter which is used for the record selection criteria into crystal report file/viewer from my application, it affects the group field footer.

It now appears after every single record, as if the new group field has become the unique record id (member id) rather than a deceased field (boolean) which should group the report into TWO halfs as set in the report file.

It has confused me as the parameters being passed through are not related to the group field in my vb.net code.

I was looking into programmatically setting the group field in vb.net but lookings at the class structure I dont think it can be set.

So to summarise the group field a boolean was expected to print a count in the footer TWICE. Now the group footer is displayed after every single record.

The only difference between me running the report through the application is that I pass in a sort order.

Has anyone experienced a similar issue?
Any ideas how to resolve it and/or further debug?

Oh wasnt sure if this was the correct section as It vb.net 2008 related too.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top