Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I want to add a query criteria using the 'begins with' option. I cannot get the syntax right. Choosing --- begins with [xxx] ----- does not work. what should it be? Help much appreciated, A struggling Texas Tonie |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is from the Autofilter........maybe someting like it will work for
you........... Criteria1:="=a*" Vaya con Dios, Chuck, CABGx3 "Texas Tonie" wrote in message ... Hello, I want to add a query criteria using the 'begins with' option. I cannot get the syntax right. Choosing --- begins with [xxx] ----- does not work. what should it be? Help much appreciated, A struggling Texas Tonie |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like this:
The below SQL selects names that begin with the letter A. SELECT myTbl.Name FROM myTbl WHERE myTbl.Name LIKE 'A%' Note: The Pct Symbol (%) is a wildcard Is that something you can work with? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "Texas Tonie" wrote in message ... Hello, I want to add a query criteria using the 'begins with' option. I cannot get the syntax right. Choosing --- begins with [xxx] ----- does not work. what should it be? Help much appreciated, A struggling Texas Tonie |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Like '%' + [parameter] + '%' works in SQL.......... "CLR" wrote: This is from the Autofilter........maybe someting like it will work for you........... Criteria1:="=a*" Vaya con Dios, Chuck, CABGx3 "Texas Tonie" wrote in message ... Hello, I want to add a query criteria using the 'begins with' option. I cannot get the syntax right. Choosing --- begins with [xxx] ----- does not work. what should it be? Help much appreciated, A struggling Texas Tonie |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It turns out that
Like '%' + [parameter] + '%' works in SQL "Ron Coderre" wrote: Try something like this: The below SQL selects names that begin with the letter A. SELECT myTbl.Name FROM myTbl WHERE myTbl.Name LIKE 'A%' Note: The Pct Symbol (%) is a wildcard Is that something you can work with? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "Texas Tonie" wrote in message ... Hello, I want to add a query criteria using the 'begins with' option. I cannot get the syntax right. Choosing --- begins with [xxx] ----- does not work. what should it be? Help much appreciated, A struggling Texas Tonie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Importing Data via Web Query - Can values be passed to query? | Excel Discussion (Misc queries) | |||
Editing external DB query | Excel Discussion (Misc queries) | |||
Save data retreived from query without saving query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) | |||
Editing MS Query | Excel Worksheet Functions |