Thanks Myron. Excellent explanation.
Another ""twist"" to this issue is when you are using Access PTQ's to do the heavy lifting (10X faster than the MAS ODBC connection in Crystal), you don't need a separate ODBC for each company. Simply by changing the company for the ODBC connection string used in that PTQ property (SIE below), you can use the SOTAMAS90 driver.
ODBC;DSN=SOTAMAS90;UID=JAS|SIE;PWD=XXXXXX;Directory=\\Pcs5037\g\Sage\MAS\v45\MAS90\;EnforceDouble=1;StripTrailingSpaces=1;SILENT=1;SERVER=NotTheServer
A couple caveats - To use the same Access database for multiple companies, you have to set up separate PTQ's and change the connection string to the appropriate company for each one. Second - If are pulling data from multiple companies (e.g. creating a consolidated report spanning several companies using a UNION query), you have to create a separate ODBC for each company (as outlined in the document). To use in the connection string, swap out SOTAMAS90 with the name of the ODBC that you want to use..
For those that find Crystal reports take FOREVER when pulling data from large tables (e.g. AR_InvoiceHistoryDatail and Header), you can improve the response time by a factor of 10 simply by linking the Crystal report to an Access database that has a Pass Through Query defined for each MAS table. At one client, the Crystal report chugged for 65 minutes every Monday. By simply inserting an intermediate Access DB on the server, the report now runs in SIX minutes! And the report is displayed under the Custom Reports menu on the MAS desktop so the client doesn't need to have Crystal Designer to generate the report.
It is NOT necessary to have a copy of Access on the server although it is helpful for debugging the report. You ONLY need the Access ODBC driver installed.
This method IS a little labor intensive to set up but once done, it works very well. If you have a LOT of table to map, contact Dan Burleson for his MAS Mirror program. And of course, if your report requirements are massive, contact DSD for their SQL Mirroring product.