[AccessD] Help with a query

Roz Clarke roz.clarke at donnslaw.co.uk
Mon Jun 6 10:24:57 CDT 2005


double click on the join in the QBE window, and select the appropriate
option

-----Original Message-----
From: Joe Hecht [mailto:jmhecht at earthlink.net] 
Sent: 06 June 2005 15:53
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Help with a query


I am building the query again as several queries to find records dropping
out.

How would I force all joins to be outer.

Thanks

Joe Hecht
Los Angeles CA

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke
Sent: Monday, June 06, 2005 7:51 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Help with a query

Well, your WHERE clause is simple enough that it's unlikely to be the
culprit.

Have you tried making all your joins outer instead of inner, in case any
information is missing from the child side?

-----Original Message-----
From: Joe Hecht [mailto:jmhecht at earthlink.net] 
Sent: 06 June 2005 15:41
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Help with a query


You are right

SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName,
Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone,
Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired,
PurchaseOrders.ShippingMethodID, Locations.LocationName,
Locations.LocationAddress, Locations.LocationCity, Locations.LocationState,
Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax,
[City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " &
[LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping
Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails,
Locations.LocationID, Department.Department FROM Department INNER JOIN
(Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN
PurchaseOrders ON Vendors.VendorID =
PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID =
PurchaseOrders.ShippingMethodID) ON Locations.LocationID =
PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID
WHERE
(((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID
]));

Joe Hecht
Los Angeles CA

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke
Sent: Monday, June 06, 2005 7:34 AM
To: access at joe2.endjunk.com; 'Access Developers discussion and problem
solving'
Subject: RE: [AccessD] Help with a query

your SQL would be helpful Joe

-----Original Message-----
From: Joe Hecht [mailto:jmhecht at earthlink.net] 
Sent: 06 June 2005 15:15
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Help with a query


I have a database where a query works with about 14 of almost 5000 records.
 
I rewrote the query and still the same results
 
I have added data in some fields that were missing data.
 
Ant thoughts
 
TIA
 
Joe Hecht
Los Angeles CA
 
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-------------- next part --------------

The contents of this message and any attachments are the property of Donns Solicitors 
and are intended for the confidential use of the named recipient only.  They may be legally
 privileged and should not be communicated to, or relied upon, by any other party without 
our written consent.  If you are not the addressee, please notify us immediately so that we 
can make arrangements for its return.  You should not show this e-mail to any person or
 take copies as you may be committing a criminal or civil offence for which you may be
 liable.  The statement and opinions expressed in this e-mail message are those of the 
writer, and do not necessarily represent that of Donns Solicitors.  Although any files attached
 to this e-mail will have been checked with virus protection software prior to transmission, 
you should carry out your own virus check before opening any attachment.  
Donns Solicitors does not accept any liability for any damage or loss which may be caused 
by software viruses...


More information about the AccessD mailing list