showing Records without data (1 Viewer)

stu_c

Registered User.
Local time
Today, 21:56
Joined
Sep 20, 2007
Messages
489
hi all
I have a database for cars and the date of when the vehicle when it is has been checked, I want to show what vehicles have never had a check date how do I do this?

I have tried to do a query Under CheckedDate and put Is Null but does not bring up any records at all.

Table1
TBLVehicleDetails
*IDVehicle (AutoNumber)
Registration
Make
Model
Engine Size

Table2
TBLVehicleChecks
*IDVehicleChecks (AutoNumber)
IDFKVehicle (Relationship With IDVehicle)
CheckedDate
CheckedBy
 

bob fitz

AWF VIP
Local time
Today, 21:56
Joined
May 23, 2011
Messages
4,719
Are you sure you used Is Null and not IsNull?

Are you sure that you have some records with a Null value in the field?
 

CJ_London

Super Moderator
Staff member
Local time
Today, 21:56
Joined
Feb 19, 2013
Messages
16,605
do a left join between table1 and table2 with a criteria for checked date of is null
 

stu_c

Registered User.
Local time
Today, 21:56
Joined
Sep 20, 2007
Messages
489
Hi mate
I have tried both with no success

Are you sure you used Is Null and not IsNull?

Are you sure that you have some records with a Null value in the field?
 

bob fitz

AWF VIP
Local time
Today, 21:56
Joined
May 23, 2011
Messages
4,719
What is the Data Type of the field CheckedDate in table2 ?


I repeat: Are you sure that you have some records with a Null value in the field?
 

Users who are viewing this thread

Top Bottom