Hi there I Created a access database to sort my sales territory by postcode and added a status field to put R for removed or certain language to make sure these" records dont show when running the query I used "is null" without quotes in the status field. this used to work or at least it seamed to but noticed lately that when I update the table with a R in status column then run the query it also Displays all the fields including those with entries in the status field. Why is this, Does the status field have to appear before any other field in the query?
I only want the query to display records with blank status field.
Copy Of SQL Below:
SELECT TerritoryTBL.[Flat/House Number], TerritoryTBL.[House Name], TerritoryTBL.Area, TerritoryTBL.Road, TerritoryTBL.Parish, TerritoryTBL.Island, TerritoryTBL.[Latitude N], TerritoryTBL.[Longitude W], (+[Flat/House Number]+", ") & (+[House Name]+",") & (" "+[Area]+",") & " " & [Road] AS FullAddress, TerritoryTBL.Postcode, TerritoryTBL.[Status/Type]
FROM TerritoryTBL
WHERE (((TerritoryTBL.Postcode)="JE2 3ZU" Or (TerritoryTBL.Postcode)="JE2 3ZT") AND ((TerritoryTBL.[Status/Type]) Is Null)) OR (((TerritoryTBL.Postcode)="JE2 3ZG" Or (TerritoryTBL.Postcode)="JE2 3ZL")) OR (((TerritoryTBL.Postcode)="JE2 3ZD"));
Please Help. Note I did also try Is Null Or "" same result.