Hi Frank,
Regarding your concern, an ODBC DSN provides only the connection information, and you cannot add tables inside the DSN itself. The tables must already exist in the Access database or underlying server, and Crystal Reports must use the correct ODBC bitness, permissions, and object-display settings.
First, please go to Crystal Reports > select Help > About Crystal Reports and determine whether it is 32-bit or 64-bit. Then, configure the DSN using the matching ODBC administrator:
- For 32-bit Crystal Reports, configure the DSN using: C:\Windows\SysWOW64\odbcad32.exe
- For 64-bit Crystal Reports, configure the DSN using: C:\Windows\System32\odbcad32.exe
After that, please follow these steps:
1/ Verify the database selected in the DSN
- Open the appropriate ODBC Data Source Administrator > select the User DSN and choose Configure.
- Confirm that it points to the correct Access .accdb or .mdb file.
2/ Check the Crystal Reports database settings
- In Crystal Reports, go to File > Options > Database > make sure Tables and Views are selected.
- Clear any entries under Table Name LIKE and Owner LIKE, or use % to avoid filtering out database objects.
- Restart Crystal Reports and test the connection again.
- Access select queries may appear under Views in Crystal Reports, so the Views option needs to be enabled.
3/ Verify the tables in Microsoft Access
- Open the database directly in Access and confirm that the required tables can be opened.
- If they are linked tables, go to External Data > Linked Table Manager and refresh or relink them.
- Verify that each table has a primary key or an appropriate unique index.
4/ Refresh the database structure in Crystal Reports
- Open the report > go to Database > Verify Database.
- If the report was previously connected to another database or table, use Database > Set DataSource Location to map it to the correct table.
For reference: https://help.sap.com/docs/SAP_CRYSTAL_REPORTS/dfc124becfa845ffa91b1e717b20e3ec/474e3deb6e041014910a…
(This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Product). Thoroughly research any product advertised on the site before you decide to download and install it.)
Hope this information is helpful. Should you have any further questions, please feel free to share them in the comment below. I'm very happy to help.