I ran into a nasty problem, perhaps someone can help me:
Im inserting/updating some data into database. Some of the fields are Double type. Now, when I do this:
Some values (got from s_znesekEUR = txtZnsesek.Text - s_znesekEUR = Double) get this value 123,45. Its because of my local settings in WinXP. Can I somehow change this decimal sign into a dot (.)? Because the UPADTE clearely doesnt work, its like there is an additional value after the comma.
Hope its clear enough and thanks!
Im inserting/updating some data into database. Some of the fields are Double type. Now, when I do this:
Code:
Dim strUPDATE As String
strUPDATE = "UPDATE tblPostavke SET " & _
"IDpodjetja = " & s_podjetje & ", " & _
"zunanjast = " & s_zunanjast & ", " & _
"datumvnosa = " & s_datumvnosa & ", " & _
"datumopravljene = " & s_datumopravljene & ", " & _
"datumzapadlosti = " & s_datumzapadlosti & ", " & _
"znesekSIT = " & s_znesekSIT & ", " & _
"znesekEUR = " & s_znesekEUR & _
" WHERE IDfaktura = 21"
Hope its clear enough and thanks!
Last edited by a moderator: