Microsoft
Software
Hardware
Network
Question : How do I add some records in a query field?
I have two queries: qry1 and qry2.
qry1 contains various fields among which there is a "client numbers" field. The same field is present in qry2.
I want to create a query that will take qry1 and add a new field to it that is present in qry2.
If I use a select query and link the clients names fields from qry1 and qry2, the new query only delivers the clients that are both in qry1 and qry2.
How can I keep all the records from qry1 and only add the record from the qry2 field(and leave the field blank for the clients that are not in qry2).
I do not want to create a table and use an update query that would do the same thing. I only want a new query.
Thank you!
Answer : How do I add some records in a query field?
SELECT Q1.FIELD, Q2.FIELD
FROM
Q1
LEFT OUTER JOIN Q2
ON Q1.NAME=Q2.NAME
Random Solutions
Using calendar in Access2007 application
Displaying Icon over an Image
How to resolve the SQL error: "ORDER BY items must appear in the select list if the statement contains a UNION, INTERSECT or EXCEPT operator"?
How to configure FastCGI activity timeout for php-cgi.exe, Windows7, x64
NetworkStream.DataAvailabl<wbr />e returns false
System.NullReferenceExcept<wbr />ion for Excel.Workbooks.Open (visual Studio
C# equivalent of javascript's location.replace() function?
Converting Lotus .MK4 files to Excel
Domain Password policy did not apply on workstation
Importing Fixed Assets