B
Bob Vance
I have a query that will show any HorseID that does not have a ClientName
but for some reason it has 4 records showing with #Error in ClientName, any
Ideas how this can happen and how do I clear them?
SELECT IIf(IsNull([HorseName]) Or [HorseName]='',[FatherName] & '--' &
[MotherName] & ' -- ' & funCalcAge(Format('01-Aug-' &
[DateOfBirth],'dd/mmm/yyyy'),Format(Now(),'dd/mmm/yyyy'),1) & ' -- ' &
[Sex],[HorseName]) AS ClientName, tblHorseInfo.FatherName,
tblHorseInfo.MotherName, tblHorseInfo.Sex, tblHorseInfo.DateOfBirth,
tblHorseInfo.HorseID
FROM tblHorseInfo LEFT JOIN tblHorseDetails ON tblHorseInfo.HorseID =
tblHorseDetails.HorseID
WHERE (((tblHorseDetails.HorseID) Is Null));
but for some reason it has 4 records showing with #Error in ClientName, any
Ideas how this can happen and how do I clear them?
SELECT IIf(IsNull([HorseName]) Or [HorseName]='',[FatherName] & '--' &
[MotherName] & ' -- ' & funCalcAge(Format('01-Aug-' &
[DateOfBirth],'dd/mmm/yyyy'),Format(Now(),'dd/mmm/yyyy'),1) & ' -- ' &
[Sex],[HorseName]) AS ClientName, tblHorseInfo.FatherName,
tblHorseInfo.MotherName, tblHorseInfo.Sex, tblHorseInfo.DateOfBirth,
tblHorseInfo.HorseID
FROM tblHorseInfo LEFT JOIN tblHorseDetails ON tblHorseInfo.HorseID =
tblHorseDetails.HorseID
WHERE (((tblHorseDetails.HorseID) Is Null));