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

report for tables with similar structure.

Status
Not open for further replies.

bhavanipodipireddy

Programmer
Jan 13, 2004
7
FR
I have 3 tables with names A,B,C. The strucure of 3 tables is similar.but the data is different.Now i have to create report for each table based on the user input..User selects a table name from the combo box. based on the selected table name the report for the corresponding table has to be generated.

I have already created a report for Table A. Now how Can i change that report so that it will become the Report for Table B if the user selects the Table B from the Combo box.And For Table C also if he clicks Table C.

I am using Crystal Reports using Visual Studio.NET.

How can i change the data in the report for tables with similar sturcture based on the selected table from the combo box.

Can anyone help me. Thank you.
 
You could use three subreports, each accessing a different dataset on the basis of a pamameter in the main report. Note that you can duplicate reports using Save As, and also import existing reports when creating a subreport.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top