?
Solved

Access Query

Posted on 2012-03-29
2
Medium Priority
?
283 Views
Last Modified: 2012-03-29
Here is the scenario. I have a local table named tblSVF. the PK is OrderNumber. I have a pass through query and its PK is also OrderNumber. The records in the pass through will always have a corresponding record in the local table. So far so good. here is where it gets tricky. there are times that there will be records in the local table that are not in the pass through. I need to see ALL of the records from both locations only once. I want to accomplish this in one query. this seems like an easy request but for some reason I am having a brain fart and it is easier to ask you pros than to spend a considerable amount of time and do something else until I get it resolved. Thank you everybody. :-)
0
Comment
Question by:JArndt42
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 37784679
Select tblSVF.*, qryPassthru.*
from tblSVF left join qryPassthru
On tblSVF.OrderNumber = qryPassthru.Ordernumber
0
 
LVL 1

Author Closing Comment

by:JArndt42
ID: 37784698
duh! Thanks for releasing the pressure from my brain. :-) a very simple left join from the local table to the pass through shows them all. thanks.
0

Featured Post

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question