Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Convert hard coded query criteria to Parameter Query

I have a query created via Microsoft SQL Server Management Studio that has
hard coded criteria (see below). I would like to convert this query to a
parameter query. Because the query was not created initially as a parameter
query, the €śQuery Parameters€ť icon is not available.

Is it possible to modify the syntax so that the criteria below can be
entered in 4 separate cells in Excel?

WHERE T2.[GroupMask] ='6' and T2.[GroupMask] <= '6' and T0.[RefDate] =
'01/01/03' AND T0.[RefDate] <= '06/20/08'

--
Thanks, Melanie
Reply
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
Convert Hard-coded cell values to constants Takeadoe Excel Discussion (Misc queries) 2 May 20th 06 12:59 AM
Parameter/Criteria option not available for External Data Query rael_lucid Excel Discussion (Misc queries) 2 April 11th 06 03:48 AM
How to write parameter query with "or is null" criteria Vincent Alliance New Users to Excel 0 April 8th 06 02:55 AM
Criteria using "Or" and parameter query Troy Man Excel Discussion (Misc queries) 2 February 28th 06 05:56 AM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


All times are GMT +1. The time now is 08:22 AM.

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

About Us

"It's about Microsoft Excel"