Programmatic Rendering
I am trying to see if anyone knows how to render a report based on the applications ODBC settings. I am fairly new to this and would like my application create the DataSource connection based on how I am currently logged in. I do not want to create multiple connections but would like to know if it will be possible to run a report this way. For example I set my odbc string for my application to MyTest server then run reports here. Later log on my MyLive server and run the reports based on this coonection string. My long term goals is to send this out to my clients and not have them worry about this datasource but create it in my application. I am currently researching the "SetDataSource method for this and think this could be the solution but if anyone knows a way for this to work I would be thankful
|