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

Printing an array using reports

Status
Not open for further replies.

chispavip

IS-IT--Management
Dec 20, 2006
10
MX
In fact I have a lot of problems printing.

What I want is to have some reports like normally we do, but what if I have to change the data source (DATABASE name)?.

I want to do the reports and chage the source dinamically.

Isn't the best way not to have a static connection string?

I have tried some ways but I can't.

So now I was trying to load the data into some tables and then build the report and fill it with the tables.

Any suggestion or better idea?

 
not knowing what reporting engine you are using, or how you are delivering reports limits how much we can help.

I personally like to push data from a business object into a report. Rather than pull data within a report from a database.

I use crystal reports for .Net, push data from a collection or datatable/set into the report and export to PDF for display.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Actually what I want is to separate it in 2 parts.

1.- To fill my components with data from database
2.- To fill the report with my components

This way I can isolate my reports and the database.

I don't know which reporting engine to use yet.

I Have tried with Crystal and the reporting services from VS
 
i'm unclear about your question. could you elaborate more?

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top