R
Ram Palav
In msaccess 2000 i have a table that contains 5 fields
code,opening,debit,credit,closing
now, when i go to update field closing by writing query
"UPDATE TABLE SET CLOSING=OPENING+DEBIT-CREDIT"
In few records it shows values like
Opening, debit, credit, closing
0, 426.987, 426.987, 0.00000023232326
if i use round function in the same query
"UPDATE TABLE SET CLOSING=round(OPENING+DEBIT-CREDIT,3)"
it gives me correct values.
However if i write the same query from visual basic
it gives me error undefined function.
can any help me.
code,opening,debit,credit,closing
now, when i go to update field closing by writing query
"UPDATE TABLE SET CLOSING=OPENING+DEBIT-CREDIT"
In few records it shows values like
Opening, debit, credit, closing
0, 426.987, 426.987, 0.00000023232326
if i use round function in the same query
"UPDATE TABLE SET CLOSING=round(OPENING+DEBIT-CREDIT,3)"
it gives me correct values.
However if i write the same query from visual basic
it gives me error undefined function.
can any help me.