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  

Subquery?



 
 
Thread Tools Display Modes
  #1  
Old May 21st, 2008, 08:49 PM posted to microsoft.public.access.queries
D Collins
external usenet poster
 
Posts: 6
Default Subquery?

Hello,

I have a 3-table query that gathers it's criteria from a Criteria Selection
Form (This works fine). After I get the results from this query, I would
like to do another query that uses the result from the first query to compare
to a table of all possible choices to see what might not be matched. I can
get this to work by creating the 2 queries separately. The problem is that I
want the final result to be the record source for a report when I click on
the preview button from the selection form.

I have tried to copy the SQL, but my dilema is that I need to pass the
criteria to the first query, then from that query result create another SQL
string to find unmatched, and to throw a wrench in it, use a piece of
criteria from the first query.

I think I might have to create a temp table and use that, or can I use
subqueries?

Any help would be appreciated.

Thanks.

 




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 02:51 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.