Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello colleagues!
I am using Excel2003 to access data from a SQL Server 2000 database. To create the query I end up using Microsoft Query (not the query wizard). I am sending parameters to the query. As long as I send the exact full string to the query, life is great and I get the results I expect. I would like to use wildcards (%) in the string I send but can't get this to work at all! If I type the wildcard directly into the criteria box from within Microsoft Query, it works (i.e., Like '3.04.%'). BUT, if I put the parameter selection in the criteria selection (i.e., Like [Build]), and then when prompted for Build enter 3.04.% (or '3.04.%', or using double quotes, or whatever), it returns nothing. I have tried every combination I can think of. If it works typed directly in the criteria selection box, it doesn't work when entered in the parameter prompt. I have ensured that I am using the lastes SPs, and the latest MDAC version for Windows XP. I have searched the entire MSDN site as well as googled this - and I cannot find any explanation or report of this being a bug. It is driving me crazy and I hope someone out there can assist. Best Regards, -- Jan Kaufman ABB Inc. Ohio, USA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A search for $ in a formula use to work now it does not work | Excel Discussion (Misc queries) | |||
Moving a sheet from one work book to another? | Excel Worksheet Functions | |||
My links no longer work . . . | Excel Discussion (Misc queries) | |||
Work Rota - Do I need a formula? | Excel Discussion (Misc queries) | |||
Excel Queries with subqueries and parameters | Excel Discussion (Misc queries) |