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 / Queries / November 2005

Tip: Looking for answers? Try searching our database.

Zero Length Join

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mcgj - 16 Nov 2005 16:33 GMT
How do I create a query that uses multiple fields to do the linking between
tables when sometimes some of the values in one or two of the fields have
zero length values in them?  I cannot set a rule that will not allow zero
length because we are using a table from someone elses database and the data
already exists in the tables.  

Right now I have done some testing and if I eliminate the link between the
zero length fields the data shows up with the link in there, no data!

Thanks for you help.
Sylvain Lafontaine - 16 Nov 2005 17:11 GMT
If Zero length value the same thing as Null or as "" for you?

Try something like:

... From A join B on ((A.id = B.id or A.id is Null or A.id = "") and (A.Id2
= B.Id2) and ....)

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF

> How do I create a query that uses multiple fields to do the linking
> between
[quoted text clipped - 8 lines]
>
> Thanks for you help.
 
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.