Hey Guys:
I'd like to use the ActiveX Datareport to generate a report from a recordset returned from a stored procedure. My sp returns an rs which includes as one of it's columns account number. I know how to have all of the data show up as detail items, but what I would like to do is have them grouped by the account number. If I add a group header, I revieve an error "Report sections do not match data source". If I just dump them all in the data section, it works fine. How do I get it so that I can group my report by the account number? Basically, I'm creating a statement report that will have one customer per page.
Any ideas will be greatly appreciated.
BTW, I wanted to use the Data Environment because it's easie to group items and create sub commands, but I can't get the commands I'm creating to show the fields that are returned from the sp....
Thanks again
jocasio
I'd like to use the ActiveX Datareport to generate a report from a recordset returned from a stored procedure. My sp returns an rs which includes as one of it's columns account number. I know how to have all of the data show up as detail items, but what I would like to do is have them grouped by the account number. If I add a group header, I revieve an error "Report sections do not match data source". If I just dump them all in the data section, it works fine. How do I get it so that I can group my report by the account number? Basically, I'm creating a statement report that will have one customer per page.
Any ideas will be greatly appreciated.
BTW, I wanted to use the Data Environment because it's easie to group items and create sub commands, but I can't get the commands I'm creating to show the fields that are returned from the sp....
Thanks again
jocasio