A
Albert Lacaze
I'm hoping someone help me see the error of my ways...
I have an Access 2000 database with 2 columns configured as described
below. I have a query that should return all records that have a NULL
ReceivedDate and Status not equal to 'VOID'. Each section of the
query works appropriately by themselves, but when joined with the AND
it returns 0 records. Any help would be appreciated!
Returns all records with a NULL ReceivedDate:
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.ReceivedDate) Is Null));
Returns all records with status not equal to 'VOID'
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.Status)<>'VOID'));
Returns 0 records:
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.ReceivedDate) Is Null) AND ((Job.Status)<>'VOID'));
Column Configuration:
Table: Job
ReceivedDate Date/Time 8
AllowZeroLength: False
Attributes: Fixed Size
Caption: Rec'd Plans
Collating Order: General
ColumnHidden: False
ColumnOrder: Default
ColumnWidth: 1260
Data Updatable: False
Format: Short Date
GUID: Long binary data
IMEMode: 0
IMESentenceMode: 3
InputMask: 99/99/00;0
Ordinal Position: 7
Required: False
Source Field: ReceivedDate
Source Table: Job
Status Text 50
AllowZeroLength: False
Attributes: Variable Length
Collating Order: General
ColumnHidden: False
ColumnOrder: Default
ColumnWidth: Default
Data Updatable: False
DisplayControl: Text Box
GUID: Long binary data
IMEMode: 0
IMESentenceMode: 3
Ordinal Position: 12
Required: False
Source Field: Status
Source Table: Job
UnicodeCompression: True
I have an Access 2000 database with 2 columns configured as described
below. I have a query that should return all records that have a NULL
ReceivedDate and Status not equal to 'VOID'. Each section of the
query works appropriately by themselves, but when joined with the AND
it returns 0 records. Any help would be appreciated!
Returns all records with a NULL ReceivedDate:
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.ReceivedDate) Is Null));
Returns all records with status not equal to 'VOID'
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.Status)<>'VOID'));
Returns 0 records:
SELECT Job.ReceivedDate, Job.Status
FROM Job
WHERE (((Job.ReceivedDate) Is Null) AND ((Job.Status)<>'VOID'));
Column Configuration:
Table: Job
ReceivedDate Date/Time 8
AllowZeroLength: False
Attributes: Fixed Size
Caption: Rec'd Plans
Collating Order: General
ColumnHidden: False
ColumnOrder: Default
ColumnWidth: 1260
Data Updatable: False
Format: Short Date
GUID: Long binary data
IMEMode: 0
IMESentenceMode: 3
InputMask: 99/99/00;0
Ordinal Position: 7
Required: False
Source Field: ReceivedDate
Source Table: Job
Status Text 50
AllowZeroLength: False
Attributes: Variable Length
Collating Order: General
ColumnHidden: False
ColumnOrder: Default
ColumnWidth: Default
Data Updatable: False
DisplayControl: Text Box
GUID: Long binary data
IMEMode: 0
IMESentenceMode: 3
Ordinal Position: 12
Required: False
Source Field: Status
Source Table: Job
UnicodeCompression: True