I have build an vb application that counts certain figures from
records in TABELA and puts the result in a field in a record in
TABELB. The statement is below.
If IsNull(conConnection.Execute("Select sum(Bedrag) from TABELA where
(bedrag<0)").Fields(0).Value) = False Then
cpBedragCredit = conConnection.Execute("Select sum(Bedrag)
from TABELA where bedrag<0") .Fields(0).Value
Call conConnection.Execute("Update TABELB set jar_cre='" &
Format(cpBedragCredit, "#0.00") & "' where reken=" & lclReken)
end if
The performance is pretty slow. Can anybody help me approve the
performance?
Thanks in advance
Catharinus van der Werf
www.figuresfirst.nl
csvand...@planet.nl
Catharinus,
Use more variables. The code chaining effect is causing your code is
run much slower than otherwise coded.
Cheers,
SG