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

Help! How can I format a report in code -- including grouping?

Status
Not open for further replies.

AppBldr

Programmer
Sep 27, 2000
14
0
0
US
I need to build an ad hoc query/report, knowing no more than the possible columns that may be chosen. If the user chooses to show a column, I must be able to put the header and data on the report, and add some sort of offset before writing out the next column.

I must build the queries and underlying tables on the fly, then present the user with a choice of fields to display (giving her the option to modify the report title and column headers). The user wants to be able to specify grouping and sorting, which I will need to specify in code, also.

Does anyone have any pointers on how to build this report, assuming that I'll figure out how to build the SQL and the temp data table to pull from? Thanks!

LynnC :cool: [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top