Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

New to RB - Help with Grouping report

edited June 2003 in General
I am new to using RB and now have the need to understand how it works with a
GROUP BY clause.

I have a stored procedure that is returning a dataset correctly. The SQL is
returning Orders and Order Items for a specific sales rep. The SQL uses a
GROUP BY clause and groups the order item records by Order_ID.

I am creating a report but am not getting the results I would like. I have
a Group Header with the fields that are in the Order table, and have placed
the Order Item fields on a detail region.

The data is showing but the report is only showing the first order.

I tried using the "Groups" menu option and defined Group[0] as one that uses
the Order_ID field which should be correct.

One complaint I thought I would mention is that the Groups dialog is not
wide enough which makes it real tough to see the field name you are trying
to pick, the entries get truncated with no way to size the form. (Crystal
Reports used to do that all the time, drove me crazy.)

Can someone please offer some insight?

Any help would be greatly appreciated.

Thanks,

--
Reid Roman
Future Generation Software
http://www.fgsoft.com

Comments

This discussion has been closed.