Thanks PHV,
I only had to adjust one thing like :
Replace(CStr(totaal), ",", ".") and now it is running.
case closed and Thanks for your help and time !!!
Jack
I try to update a currency field in my ms acess db from a program in VB6 (sp5). Herefor I execute a SQL string-command over the active connection.
The variable total is also declared a currency type variable.
The error message tells me that there is an error in the command and that it is about...
Yep,
That works resulting in m-d-y correctly and that also triggered some other tries, now i also tried to put the date inbetween accents and that had not yet occurred to me before. So problem solved
Thanks David
I Have a huge problem trying to insert a date in a date/time field of a jet db.
Firstly I create a SQL string to perform the operation and later on I execute this SQL string on the connection. Afterwards some very weird data can be found in the real field if I look in it with the Visual data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.