Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default What is the wild card for an Access query (MS query) parameter?

What is the wild card for an Excel data parameter?

I have a cell referenced criteria parameter for imported data from an Access
Query. If a single criteria is posted I get that group. How can I get the
data for all groups? In Access I can use the * wild card. But * doesn't
pass to the query from excel. I've also tried %.
--
Thanks, Kevin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default What is the wild card for an Access query (MS query) parameter?

The wildcard character in ADO is %, not *. Maybe you set it up wrong. Here
is an example that I use:
Like "*" & [Forms]![MyForm]![ComboBox1] & "*"

Are you using the Like operator?

Good luck,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"AFSSkier" wrote:

What is the wild card for an Excel data parameter?

I have a cell referenced criteria parameter for imported data from an Access
Query. If a single criteria is posted I get that group. How can I get the
data for all groups? In Access I can use the * wild card. But * doesn't
pass to the query from excel. I've also tried %.
--
Thanks, Kevin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default What is the wild card for an Access query (MS query) parameter

I was missing the "Like" operator. The wild card % works for this: Like
[Enter Group ID].
--
Thanks, Kevin


"ryguy7272" wrote:

The wildcard character in ADO is %, not *. Maybe you set it up wrong. Here
is an example that I use:
Like "*" & [Forms]![MyForm]![ComboBox1] & "*"

Are you using the Like operator?

Good luck,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"AFSSkier" wrote:

What is the wild card for an Excel data parameter?

I have a cell referenced criteria parameter for imported data from an Access
Query. If a single criteria is posted I get that group. How can I get the
data for all groups? In Access I can use the * wild card. But * doesn't
pass to the query from excel. I've also tried %.
--
Thanks, Kevin

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
pass parameter to access query Bill Manville Links and Linking in Excel 4 May 1st 23 03:45 AM
Call parameter query in Access from Excel VBA? Gustaf Excel Programming 1 April 25th 08 08:41 PM
Cell value as parameter for VBA access query Gegle Excel Programming 4 November 29th 05 04:58 PM
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
Pass Parameter to Access Query Al Excel Programming 3 April 29th 04 10:15 AM


All times are GMT +1. The time now is 04:43 AM.

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

About Us

"It's about Microsoft Excel"