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!

Hi ! I want to generate automati

Status
Not open for further replies.

Informatic

Programmer
Oct 4, 2002
34
DE
Hi !

I want to generate automatically a report.
First I want to make a form where the user can choose which columns from a table should come on the report.
Then I want automatically to generate a report where the choosen columns are shown.

Have somebody made something like this.

I have searched for examples in Internet but i haven's found anythiing.

Help......
 
Hallo,

What about creating a generic report, displaying Expr1, Expr2, Expr3 etc.
then write code to open it and make its recordsource
SELECT [Name] as Expr1, [Height] as Expr2, [Weight] as Expr3 FROM tblMyTable
Obviously that's not the whole solution, but the principle's sound. You could have different report templates depending on the number of fields selected.

- Frink
 
Hi!

I have a sample Db that does something like this if you want to look at it. It is very simplistic, but it may give you a start.

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top