SUMM FIELD

User avatar
sal21
PlatinumLounger
Posts: 4362
Joined: 26 Apr 2010, 17:36

SUMM FIELD

Post by sal21 »

'AGGIORNO CUMULO
SQL = "UPDATE DB_C SET DB_C.IMPORTO=DB_C.IMPORTO+" & IMPORTO & " WHERE DB_C.CARTA='" & CARTA & "'"
'Debug.Print SQL
'DoEvents
CONN.Execute SQL, , adCmdText & adExecuteNoRecords
'AGGIORNO CUMULO

Have erro in image....

possible causeses, please.

In effect i nedd to update existing value in IMPORTO+900

note:
The field IMPORTO have a Number Double
the var IMPORTO is dimensioned as Double
Initial value in filed IMPORTO is 0,00
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78527
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: SUMM FIELD

Post by HansV »

Impossible to tell without seeing the database.
Best wishes,
Hans