We had this annoying problem: a simple query in Access to a linked table (using ODBC and MS SQL server) returned incorrect results, though the same query returned correct results in MS SQL server. By incorrect I mean the field values were different, so rather than returning AZ, the query returned BZ (some other value in that field).
We thought that it was a table size issue, may be the driver could not handle huge data. However, the problem was with the “unique record identifier” while linking the table, as JM reported here. I did not have this problem any longer when I did not select any fields for the unique record identifier while linking the table.
Big thanks! I’m upsizing an Access app to SQL Server. I had imported the tables and the were all the same, but returning 0s where integers were required! No idea why. This fixed it.
Thanks!
I’m glad this solution helped you, Barry.