Advertisement

11.17.2007 at 03:33PM PST, ID: 22967974
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Combine two queries into one SQL statement

Asked by jacobbarnett in Microsoft Access Database, SQL Query Syntax

Tags: , , , ,

Hello ~

I have two queries below, that I would like to combine into one SQL statement, in order to create a recordset.

Can someone suggest a way of integrating qry1 into the qry2 statement?  OR passing the results of qry1 to the qry2 statement in VBA?

Thank you, Jacob

qry1
---------------------------------------
SELECT tblSHEAssmntLOG.SHECLID
FROM tblSHEAssmntLOG
GROUP BY tblSHEAssmntLOG.SHECLID, tblSHEAssmntLOG.SHELogINCOMPLETE
HAVING (((tblSHEAssmntLOG.SHELogINCOMPLETE) Is Null Or (tblSHEAssmntLOG.SHELogINCOMPLETE)=""));


qry2
---------------------------------------
SELECT tblUOS_GPdetail.uosCLID, tblUOS_GPdetail.uosCLIDtxt
FROM tblUOS_GP INNER JOIN (qry1 RIGHT JOIN (tblUOS_CL RIGHT JOIN tblUOS_GPdetail ON tblUOS_CL.uosCLID = tblUOS_GPdetail.uosCLID) ON qry1.SHECLID = tblUOS_GPdetail.uosCLID) ON tblUOS_GP.uosTrans = tblUOS_GPdetail.uosTransID
WHERE (((tblUOS_GP.uosTY1)=4) AND ((tblUOS_CL.uosCLID) Is Null) AND ((qry1.SHECLID) Is Null))
GROUP BY tblUOS_GPdetail.uosCLID, tblUOS_GPdetail.uosCLIDtxt;

Start Free Trial
[+][-]11.17.2007 at 03:48PM PST, ID: 20305822

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 04:00PM PST, ID: 20305858

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 04:11PM PST, ID: 20305889

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 04:23PM PST, ID: 20305912

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 04:27PM PST, ID: 20305924

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 04:37PM PST, ID: 20305951

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, SQL Query Syntax
Tags: combine, one, statement, two, queries
Sign Up Now!
Solution Provided By: Rick_Rickards
Participating Experts: 4
Solution Grade: A
 
 
[+][-]11.17.2007 at 04:56PM PST, ID: 20305992

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:03PM PST, ID: 20306008

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:08PM PST, ID: 20306028

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:15PM PST, ID: 20306045

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:25PM PST, ID: 20306063

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:27PM PST, ID: 20306068

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:28PM PST, ID: 20306070

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:30PM PST, ID: 20306076

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 05:52PM PST, ID: 20306111

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 07:27PM PST, ID: 20306323

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 07:56PM PST, ID: 20306410

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628