LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default SQL Query - only applying to one where statement!!!!

I have tried to build an sql query to use in a Query Table.

It should be - select * where data = x or data = y and date <= date1 and =
date2

what it appears to be doing is querying the date on data y but not on data
x, if that makes sense.

How can I select by two data types and then dates on all data selected???
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying Criteria in Excel Cell to MS Query Pull from Access Tony Excel Discussion (Misc queries) 1 February 1st 08 04:43 PM
Applying functions to web query results ExcelTina Excel Discussion (Misc queries) 0 November 29th 06 10:36 PM
IF statement query JaB Excel Worksheet Functions 5 September 27th 06 04:34 PM
ms query - from statement mtate Excel Programming 8 June 22nd 05 08:43 AM
Use MS Query in VBA to only get a SQL statement RB Smissaert Excel Programming 6 May 23rd 05 06:33 PM


All times are GMT +1. The time now is 01:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"