A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Allowing multiple Criteria in a Make Table macro



 
 
Thread Tools Display Modes
  #1  
Old September 7th, 2006, 03:02 PM posted to microsoft.public.access.queries
jesZee
external usenet poster
 
Posts: 18
Default Allowing multiple Criteria in a Make Table macro

Hi Macro Genius,

I have a situation here. I have a make table query which I have to
change the "Criteria" field at least six times to make table with
different plants. I am trying to put it into a macro but I don't want
to have six of the same queries but with different criterias in it.

Can someone help me? I know a little bit of module - thought of using
that to have a pop-up form that asked me to put in the Plant but not
too sure how to approach that.

please advise.

Thanks in advance.

J.

  #2  
Old September 7th, 2006, 03:55 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Allowing multiple Criteria in a Make Table macro

What about placing the criteria on separate rows in the query design view.
This set an OR function between each.

"jesZee" wrote:

Hi Macro Genius,

I have a situation here. I have a make table query which I have to
change the "Criteria" field at least six times to make table with
different plants. I am trying to put it into a macro but I don't want
to have six of the same queries but with different criterias in it.

Can someone help me? I know a little bit of module - thought of using
that to have a pop-up form that asked me to put in the Plant but not
too sure how to approach that.

please advise.

Thanks in advance.

J.


  #3  
Old October 4th, 2006, 09:04 PM posted to microsoft.public.access.queries
jesZee
external usenet poster
 
Posts: 18
Default Allowing multiple Criteria in a Make Table macro

Thanks Karl. I will check it out.

J


KARL DEWEY wrote:
What about placing the criteria on separate rows in the query design view.
This set an OR function between each.

"jesZee" wrote:

Hi Macro Genius,

I have a situation here. I have a make table query which I have to
change the "Criteria" field at least six times to make table with
different plants. I am trying to put it into a macro but I don't want
to have six of the same queries but with different criterias in it.

Can someone help me? I know a little bit of module - thought of using
that to have a pop-up form that asked me to put in the Plant but not
too sure how to approach that.

please advise.

Thanks in advance.

J.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.