-
1
- #1
I would like to design one report (*.rpt) file and pull data from either a SQL server OR Access database depending upon the user's choice of connection (online vs offline). The table names and structure is exactly the same.
I am using a dsnless connection and have tried the SetLogonInfo and Location commands but it does not allow me to change from a SQL OLE DB provider to a Jet OLE DB provider.
The report has been designed using one connection and needs to be modified to use either the SQL or Access dsnless connection - Please help!
So far, my only solution is to create 2 identical reports but change the database type at design time. Ughhh!
I am using a dsnless connection and have tried the SetLogonInfo and Location commands but it does not allow me to change from a SQL OLE DB provider to a Jet OLE DB provider.
The report has been designed using one connection and needs to be modified to use either the SQL or Access dsnless connection - Please help!
So far, my only solution is to create 2 identical reports but change the database type at design time. Ughhh!