Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
I know how to set up query parameters where the paramater entered provides a value for one of the query fields. What I am struggling with is setting up a parameterised query where the parameter entered is the first character in a field. In other words I want to parameteries a "begins with" criteria. In the Value field within MS Query I have entered Like '[parameter]%' which obviously isn't working. Can anyone tell me the correct syntax please? Thanks in advance Will |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
replace the % with *. Different systems use different wildcard
characters to make life spicier. HTH Kostis Vezerides |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No joy with that I am afraid.
For info if I use the query builder the syntax for a 'begins with' query is 'A%' I want to bring back different fields based on the starting letter of that field. By making it parameterised I get round the fact that the ODBC interface crashes due to the amount of data I am trying to bring back. Thanks Will |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Query cannot be edited by the Query Wizard" | Excel Discussion (Misc queries) | |||
User Defined Variables in MS query cause a problem to import data | Excel Discussion (Misc queries) | |||
Microsoft Query Help | Excel Worksheet Functions | |||
query problem after changing to SQL server | Excel Discussion (Misc queries) | |||
Use SQL statements in Excel VBA to query SQL Server Data Problem | Excel Worksheet Functions |