Hi,
I'm trying to update an Access database with following code:
strSQLUpdate = "UPDATE ThreeYears Set AvgIndex= Format(" & dblIndexOne & ", ""0.00"") WHERE ProduktNr=" & "'" & strTYProd & "' AND Month=" & "'" & strMonthTY & "'"
dblIndexOne should be 0.70 but when I check in the Access database the result is 70, only the decimals.
If I step through the lines so I can see that dblIndexOne shows the numbers with comma instead of full stop 0,70 instead of 0.70.
thanks for your help!
Post new comment