Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default query criteria parameters "contains"

I've created a query that I want to run from excel but with the criteria I
want to use within the query I am not able to acheive this. The criteria I
want to use is "contains" and I've tried using the [], but it does not work
the same way as if I was using the criteria of "Equals" or "Between". Can
anyone help me?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default query criteria parameters "contains"

hi,
not sure what you mean by "contains" but look up the LIKE operator in vb
help. alt+f11help. if i read you correctly, this may be what you are looking
for.

regards
FSt1



"Sum Limit and marking" wrote:

I've created a query that I want to run from excel but with the criteria I
want to use within the query I am not able to acheive this. The criteria I
want to use is "contains" and I've tried using the [], but it does not work
the same way as if I was using the criteria of "Equals" or "Between". Can
anyone help me?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default query criteria parameters "contains"

"contains" is a criteria that can be selected to filter the data within a
query. Its a selection simliar to "equals", "like", or "between" when adding
a criteria to a query.

In response to your suggestion I tried using like, however, it does not
acheive the same solution as "contains".

Any other suggestions?

Thanks.

"FSt1" wrote:

hi,
not sure what you mean by "contains" but look up the LIKE operator in vb
help. alt+f11help. if i read you correctly, this may be what you are looking
for.

regards
FSt1



"Sum Limit and marking" wrote:

I've created a query that I want to run from excel but with the criteria I
want to use within the query I am not able to acheive this. The criteria I
want to use is "contains" and I've tried using the [], but it does not work
the same way as if I was using the criteria of "Equals" or "Between". Can
anyone help me?

Thanks.

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
Using A Cell In Excel as Criteria for a Query charles Excel Discussion (Misc queries) 2 July 14th 06 05:06 PM
Parameters in SQL queries using "contains" or "like" StuartAberdein Excel Discussion (Misc queries) 0 June 22nd 06 11:18 AM
Criteria using "Or" and parameter query Troy Man Excel Discussion (Misc queries) 2 February 28th 06 05:56 AM
query criteria question Dcbrown428 Excel Discussion (Misc queries) 1 November 18th 05 05:20 PM
How to show query parameters on an Excel page header or worksheet? Paul Jones Excel Discussion (Misc queries) 0 September 7th 05 05:18 PM


All times are GMT +1. The time now is 03:26 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"