Connecting to your Sage 50 data using ODBC
Certain programs, such as Microsoft Excel or Access, allow you to connect to your Sage 50 company data using ODBC. This allows you to create reports using your company data directly from these programs. To do so, follow these steps:
-
Select Start, Settings, Control Panel, Administrative tools, Data Sources (ODBC).
Note: If you have a 64 bit operating system, you will need to run the 32 bit version of the program, odbcad32.exe. This file is typically found in C:\Windows\SysWOW64. The SysWOW64 folder location may be different depending on how Microsoft Windows was installed.
- On the ODBC Data Source Administrator window, click Add.
- Select Pervasive ODBC Engine Interface.
- Click Finish.
- Enter a Data Source Name.
- In the Database Name field, find and select your Sage 50 Company database.
- Click OK. twice.
In the program you want to use, you'll need to connect it to this new ODBC database. In Microsoft Excel 2007 and higher, the steps would be as follows.
- Open Microsoft Excel.
- On the Data tab, in the Get External Data group, click From Other Sources, then click From Data Connection Wizard.
- On the Data Connection Wizard window, select ODBC DSN and click Next.
- Find the database you created in the steps above and click Next.
- Enter the User Name (ID) and Password that was set up to allow access to company data from outside of Sage 50. This is set up on the Data Access/Crystal Reports tab in Maintain Users in Sage 50. The User Name (ID) is always Peachtree.
- Click OK..
- Select the table you want and click Next.
- Click Finish.
- On the Import Data window, click OK.
- You will be prompted for a password one more time. Enter the same password you entered in step 5.
- Click OK..
- Open Microsoft Excel.
- Select Data, Import External Data, Import Data.
- On the Select Data Source window, click New Source.
- Select ODBC DSN and click Next.
- Find the database you created in the first set of steps above, and click Next.
- Enter the User Name (ID) and Password that was set up to allow access to company data from outside of Sage 50. This is set up on the Data Access/Crystal Reports tab in Maintain Users in Sage 50. The User Name (ID) is always Peachtree.
- Click OK..
- Select the table you want and click Next.
- Click Finish.
- Select the Data Source Name you entered in the first set of steps above and click Open.
- On the Import Data window, click OK.
- You will be prompted for a password one more time. Enter the same password you entered in step 6.
- Click OK..