M
mrs
I am trying to figure out why some of my records are not
being found in a query. The example below uses 105393
but other RAs are not being found with DispositionCodeID
blank. Here is the SQL:
SELECT tblTechSupport.RANumber,
tblModelNumber.ModelNumber,
tblTechSupport.DispositionCodeID, tblTechSupport.RACodesID
FROM (tblRACodes AS tblRACodes_1 INNER JOIN
((tblTechSupport INNER JOIN tblModelNumber ON
tblTechSupport.ModelID = tblModelNumber.ModelID)
INNER JOIN tblRACodes ON tblTechSupport.RACodesID =
tblRACodes.RACodesID) ON tblRACodes_1.RACodesID =
tblTechSupport.DispositionCodeID) INNER JOIN tblDate ON
tblTechSupport.RANumber = tblDate.RANUMBER
WHERE (((tblTechSupport.RANumber)="105393"));
RANumber 105393 is not being found during the search.
While poking around I discovered that when I populate
DispostionCode with an entry the query finds the RA.
Without the DispostionCode it doesn't find it.
DispostionCode is NOT a required field.
Not sure it this helps but:
When I did find 105393 with the DispostionCode populated
I erased the DispostionCode from the query and got:
You tried to assign the Null value to a variable that is
not a Variant data type.
Why are records not being found?
Thanks
Matt
being found in a query. The example below uses 105393
but other RAs are not being found with DispositionCodeID
blank. Here is the SQL:
SELECT tblTechSupport.RANumber,
tblModelNumber.ModelNumber,
tblTechSupport.DispositionCodeID, tblTechSupport.RACodesID
FROM (tblRACodes AS tblRACodes_1 INNER JOIN
((tblTechSupport INNER JOIN tblModelNumber ON
tblTechSupport.ModelID = tblModelNumber.ModelID)
INNER JOIN tblRACodes ON tblTechSupport.RACodesID =
tblRACodes.RACodesID) ON tblRACodes_1.RACodesID =
tblTechSupport.DispositionCodeID) INNER JOIN tblDate ON
tblTechSupport.RANumber = tblDate.RANUMBER
WHERE (((tblTechSupport.RANumber)="105393"));
RANumber 105393 is not being found during the search.
While poking around I discovered that when I populate
DispostionCode with an entry the query finds the RA.
Without the DispostionCode it doesn't find it.
DispostionCode is NOT a required field.
Not sure it this helps but:
When I did find 105393 with the DispostionCode populated
I erased the DispostionCode from the query and got:
You tried to assign the Null value to a variable that is
not a Variant data type.
Why are records not being found?
Thanks
Matt