A couple of thoughts:
1. You could create multiple reports and assign the system dsn to each report. It may be easier to copy reports than to create DSNs. Per page 81 of the VC doc: "each report stores connection properties for only one default data source".
2. Per page 83 of the VC doc:
Overriding the Database Specified in the Report or ODBC DSN
For ODBC data sources, you can enter a database name into the login dialog if you wish to override the database specified in the ODBC data source or in the report itself. This is useful for situations where the same database (e.g., MS SQL Server) contains multiple databases each with the same table structure. If the number of such databases is large, creating a dedicated ODBC DSN for each and using the select ODBC DSN functionality may be too tedious. Instead, you can directly type in the database name in the login dialog. To enable database name input into the database field in the login dialog, you need to set the Override_ODBC_DSN_Database entry under the [Options] section in the DataLink_Viewer.ini file to TRUE, like this:
[Options] Override_ODBC_DSN_Database=TRUE
Note that if that option is set to TRUE, the database specified in the ODBC DSN can no longer override the database specified in the report (if the user doesn't type in a Database, the specified Database remains the one used in the report. Note: This functionality is not available in the Crystal 8.5 version of Visual CUT.
------------------------------
Doug Higgs
Midwest Commerce Solutions, Inc
(312) 315-0960
Assistant to the Traveling Secretary
------------------------------
Original Message:
Sent: 11-09-2020 14:19
From: Beth Bowers
Subject: VIsualCut
SOOOOO that still means I would have to setup 30+ DSNs. UGH.
------------------------------
Beth Bowers
Mom to Samson, Peanut, ChiChi, Canton, Cagney and Daisy (NO Oxford comma - shriek!)
Tennessee Software Solutions
269-445-1625
------------------------------
Original Message:
Sent: 11-09-2020 14:14
From: Kevin Moyes
Subject: VIsualCut
For batch files, use the ODBC_DSN command line parameter to point the report at different silent DSN's that you have configured.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON