Background
Applications such as Event 1 Forecast, Event 1 Integrator, and Sage 300 CRE Office Connector Write utilize the Sage 300 CRE ODBC Driver to create or update records in the Sage 300 CRE Job Cost database (specifically, the tables represented by Master.JCM). This article provides a set of steps that can be used to confirm whether the ODBC Driver is functioning as expected using tools that are available as part of Microsoft Office. If the conclusion of this test reveals that data cannot be written, you should consult with your Sage 300 CRE technical support representative to determine the cause and resolution.
Summary
This test will consist of executing a query that shows a list of JC Cost Code records. You will then make note of a specific value, change it, and then save the change. If the operation is successful, you will then change the value back to its original value and save it again.
Steps
- Create an ODBC Data Source that points to your Sage 300 CRE data folder by using the steps identified in the following article:
https://www.event1software.com/e1/how-to-setup-sage-300-cre-odbc-data-source/ - Open Windows File Explorer and then navigate to the folder where your Microsoft Office executable files are located. Click here for information about how to determine the correct folder path.
- Locate the MSQRY32.EXE file and double-click it to launch it.
- The Microsoft Query window will appear. Click the File menu and then click New. The Choose Data Source window will appear.
- Scroll down the list and select your data source (named in step 1).
- Uncheck the box entitled Use the Query Wizard to create/edit queries.
- Click OK. The User Selection for ODBC window will appear. Enter your Sage 300 CRE login credentials and click OK.
- In the Add Tables windows, select MASTER_JCM_RECORD_3 from the table list and click Add.
- Click Close to dismiss the Add Tables window.
- In the list of columns shown in the MASTER_JCM_RECORD_3 box, double click on each of the following items:
- PJOB
- PEXTRA
- PHASE
- PPCTCP
- Click the Records menu and click Allow Editing.
- Make note of the value in the PPCTCP column of the first row of data. You will need to restore this value later if you are able to successfully change it.
- On the first row of data, enter a new value in the PPCTCP column. The new value must be in the range of 0 to 100.
- Press the down arrow on the keyboard to advance to the next row. This will cause the data on the row you changed to be written to the database. If it is successful, no message will be displayed. If unsuccessful, you will receive an error message that will be useful for diagnosing the problem.
- If the value was successfully updated in the prior step, press the up arrow to return to that row. Enter the original value and press the down arrow to save it.