SkipVought
Programmer
In a MS Access, I am running VBA. Here's the snippet that seems to be returning erratic results...
where strEstimate is a record specific equation of numeric field elements like
It is the result of this calculation that is erratic.
???
Skip,
Skip@TheOfficeExperts.com
Code:
With rstPWB
...
Do While Not .EOF
...
'Create QueryDef
qdfPWB.SQL = "UPDATE Temp_WorkOrderEst" & _
" SET Estimate = " & strEquation & _
" WHERE Counter = " & intRecordNo & _
strCondition
Debug.Print qdfPWB.SQL
qdfPWB.Execute
Loop
.Close
End With
Code:
(SQFTPAN*2)/(1000*MYIELDPCT*MPARTPERPAN)
???
Skip,
Skip@TheOfficeExperts.com