If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Different results same query
Win XP Pro, Office 2003 pro
I created an Access query using the query grid to read an ODBC database: SQL WHERE as follows: WHERE (((GL_BILLING_ENTRIES_DETAIL.GL_DET_GL) In ("11511250","11561260","11511251","11561261","1151 1230","11561255","11511245","11561275"))) The query returns records with a GL_DET_GL other than those listed in the "IN()" clause. Converting to a SQL Specific - Pass through Query, however, and changing the Double-quotes (") to Single-quotes (') in the sql string yields the correct list of records containing only the requested GL Numbers! How is that possible and how do I ensure my ODBC queries run locally will return the correct records? BAC |
Thread Tools | |
Display Modes | |
|
|