R
RobUCSD
The query below is used to populate a form. It works fine except that it is
not handeling nulls approriately. I still get the ERROR# in the calculated
field Calc QTc when either fldRR or fldQT are null. I've recieved help from
Damien S on this but for some reason its still giving me the ERROR#
Any help would be greatly appreciated. Thank, Rob
SELECT tblECG.fldECGNo, tblECG.fldVisitNo, tblECG.fldTime,
tblECG.fldArrythmia, tblECG.fldRate, tblECG.fldRR, tblECG.fldPR,
tblECG.fldQRS, tblECG.fldQT,
CLng((nz([fldQT],0)/1000)/Sqr(nz([fldRR],0)/1000)*1000) AS [Calc QTc]
FROM tblECG;
not handeling nulls approriately. I still get the ERROR# in the calculated
field Calc QTc when either fldRR or fldQT are null. I've recieved help from
Damien S on this but for some reason its still giving me the ERROR#
Any help would be greatly appreciated. Thank, Rob
SELECT tblECG.fldECGNo, tblECG.fldVisitNo, tblECG.fldTime,
tblECG.fldArrythmia, tblECG.fldRate, tblECG.fldRR, tblECG.fldPR,
tblECG.fldQRS, tblECG.fldQT,
CLng((nz([fldQT],0)/1000)/Sqr(nz([fldRR],0)/1000)*1000) AS [Calc QTc]
FROM tblECG;