Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / February 2006

Tip: Looking for answers? Try searching our database.

A97 Query with BLANK Data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Thomas Smith - 16 Feb 2006 23:56 GMT
I have a 2 table query in Access 97, with a Vendor "short"
name in the main table pulling a Vendor "long" name from
a linked table to print a report (Sql is below)

This all works fine, EXCEPT when I have not updated the
Vendor table, which leads to the Receive table not having a
record to link to, and the daily receiving report is missing
the information for that receipt due to the non-linkage

How do I modify the query to go ahead and return what data
IS available in the Receive table, and just print a blank
where the Vendor "long" name should be?

Receive table is input from a barcode scanner on a loading
dock, with a limit of 8 characters for Vendor "short" name,
which relates to Vendor table with actual Vendor name to
print on the daily receiving report

SELECT Receive.DateStamp, Receive.Operator, Receive.BarCode,
Receive.PONum, Receive.Vendor, Receive.Deliver, Vendor.VendorName
FROM Receive INNER JOIN Vendor ON Receive.Vendor = Vendor.Vendor
WHERE (((Receive.DateStamp)=[forms]![Print2]![TodayDate]))
ORDER BY Receive.DateStamp DESC , Receive.Operator;

John Thomas Smith
http://www.direct2usales.com
http://www.pacifier.com/~jtsmith
Br@dley - 17 Feb 2006 00:28 GMT
> I have a 2 table query in Access 97, with a Vendor "short"
> name in the main table pulling a Vendor "long" name from
[quoted text clipped - 19 lines]
> WHERE (((Receive.DateStamp)=[forms]![Print2]![TodayDate]))
> ORDER BY Receive.DateStamp DESC , Receive.Operator;

Replace INNER with LEFT

Signature

regards,

Br@dley

cornedbeef007-groups@yahoo.com.au - 17 Feb 2006 02:51 GMT
In the design of the query, if you calculate the field like
vendor_short:nz(Vendor_name, ""), you will never get no reponse, you'll
get an empty response.

The best solution would be to fix your inputing routine to not allow
entering a new Vendor without also adding the short code.

Good luck.
Barry.

> > I have a 2 table query in Access 97, with a Vendor "short"
> > name in the main table pulling a Vendor "long" name from
[quoted text clipped - 21 lines]
>
> Replace INNER with LEFT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.