Glenda-- Access pass-through queries, by definiton, consist of SQL strings which are 'passed-through' Access and sent via ODBC directly to the back-end database engine, which does all the work; Access doesn't do anything to the SQL string before sending it. Therefore, you've got to use the syntax specified by the underlying engine; in this case, remember that Oracle's 'LIKE' operator uses the percent sign ('%') rather than the asterisk ('*') for wildcard searches. IN your example, then, you need to check for: LIKE 'D%'. (Almost completely OT: I believe that because of the way things are indexed, Oracle queries using the LIKE operator force full-table scans, meaning that Oracle has to look at every row in the table every time they're run. This puts a lot of stress on the system. Just so you know.) Hope this helps. --Jim -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Glenda Wells Sent: Thursday, March 24, 2005 5:47 AM To: mso@xxxxxxxxxxxxx Subject: [mso] Access & VBA Hi All. I'm attempting to extract records from an Oracle ODBC database using Access In query I can use the criteria Like "D*" to get values that begin with the letter D. I tried to set up a Pass-Thru Query to get the same data and it's not working. In SQL design, I put Like 'D*' no records are returned. Any advice appreciated. /g ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************