Hi friends,
I need some help in sending a Group By clause to generate a report.
I am generating a BO report using the VB OLE automation. The report here takes some user inputs (as fields that come in the report, conditions etc) dynamically from some VB controls. Depending on the user choice I am sending a command to BO to generate a report with the fields the user wants in the report along with the Conditions on the data. The user here can also specify a Group By. (Ex. my SQL might look like this - Select * from Employee Where Employee.emp_salary < 5000 Group By Employee.Dept_Id ).
I am unable to add a Group By clause to the Data providers. To create the report I am using the various BO Classes as BOApplication, BOCondition etc. But I donot find any class or method to send a Group By. Can anybody help with this???
Thanks
Kalyan Jandhyala
Bay Networks
Listserv Archives (BOB member since 2002-06-25)