I built an application that pulls data from BusinessWorks, which now needs to be converted to Sage 100 4.5. With BusinessWorks, I ran simple queries like the following against the ODBC connection with no issues. With Sage 100, I'm receiving an error: "ERROR [37000] [ProvideX][ODBC Driver]Unexpected extra token: INNER"
SELECT * FROM SO_SalesOrderHeader INNER JOIN AR_Customer ON AR_Customer.CustomerNo = SO_SalesOrderHeader.CustomerNo
My research has led me to the fact that Sage 100 has limited queries that can be executed, and that I should try a linked table through SQL Server. I attempted this as well, but have a 64bit SQL server attempting to connect to a 32bit ODBC connection, and I get an error stating there is an architecture mismatch.
Ultimately I would love to be able to run the query I provided above directly through my application using the ODBC connection, but if that is not possible a linked server would be the next best solution. Do you have any suggestions as to how I might be able to accomplish this? I have done quite a bit of research online, with little results that have yielded a working result.