I have an Access 2003 application that I would like to create reports for using stored procedures through end-to-end queries. Except for one, everything works fine. When I specify a stored procedure to use for end-to-end query, I need to select a DSN to provide database connection information. I need to be able to change connection information for a stored procedure used in a pass-through request using code . This means that I can switch to the development, production, testing environment from the application.
Currently, all my data access (additions, updates, changes) is using ADO, and I am building connection strings through VBA code. I am not sure how to change the end-to-end query connection information through code. Any suggestions? Thank.
source
share