A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Joins on NULL Date values



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 09:55 PM posted to microsoft.public.access.queries
Andy
external usenet poster
 
Posts: 941
Default Joins on NULL Date values

I have some queries whereby I need to join two tables based on two date
fields that are in both queries. Sometimes date 1 or date 2 will have NULL
values, but I still need to perform the join accurately which doesn't work.

I cannot amend the values in the table to a default date (#01/01/1000#) as
it comes from a SQL process that cannot be ammended. Any thoughts? 1:1 join.

Ta
  #2  
Old May 27th, 2010, 10:19 PM posted to microsoft.public.access.queries
Andy
external usenet poster
 
Posts: 941
Default Joins on NULL Date values

I am trying to avoid this solution as my tables are VERY large and it says
that it is not very efficient.
http://bytes.com/topic/access/answer...ll-value-fails

"Andy" wrote:

I have some queries whereby I need to join two tables based on two date
fields that are in both queries. Sometimes date 1 or date 2 will have NULL
values, but I still need to perform the join accurately which doesn't work.

I cannot amend the values in the table to a default date (#01/01/1000#) as
it comes from a SQL process that cannot be ammended. Any thoughts? 1:1 join.

Ta

  #3  
Old May 27th, 2010, 10:53 PM posted to microsoft.public.access.queries
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Joins on NULL Date values

Have you tried it? You may find that its performance is still acceptable.

--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele/AccessIndex.html
Co-author: "Access 2010 Solutions", published by Wiley
(no private e-mails, please)


"Andy" wrote in message
news
I am trying to avoid this solution as my tables are VERY large and it says
that it is not very efficient.
http://bytes.com/topic/access/answer...ll-value-fails

"Andy" wrote:

I have some queries whereby I need to join two tables based on two date
fields that are in both queries. Sometimes date 1 or date 2 will have
NULL
values, but I still need to perform the join accurately which doesn't
work.

I cannot amend the values in the table to a default date (#01/01/1000#)
as
it comes from a SQL process that cannot be ammended. Any thoughts? 1:1
join.

Ta



  #4  
Old May 28th, 2010, 12:01 PM posted to microsoft.public.access.queries
Andy
external usenet poster
 
Posts: 941
Default Joins on NULL Date values

I have and it does work. Thanks

"Douglas J. Steele" wrote:

Have you tried it? You may find that its performance is still acceptable.

--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele/AccessIndex.html
Co-author: "Access 2010 Solutions", published by Wiley
(no private e-mails, please)


"Andy" wrote in message
news
I am trying to avoid this solution as my tables are VERY large and it says
that it is not very efficient.
http://bytes.com/topic/access/answer...ll-value-fails

"Andy" wrote:

I have some queries whereby I need to join two tables based on two date
fields that are in both queries. Sometimes date 1 or date 2 will have
NULL
values, but I still need to perform the join accurately which doesn't
work.

I cannot amend the values in the table to a default date (#01/01/1000#)
as
it comes from a SQL process that cannot be ammended. Any thoughts? 1:1
join.

Ta



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.