Why is the comma there? Wouldn't it be better to use an input mask for your
text box that would give you the 1.23? If you really must do this, then:
mid(MyStr,instr(MyStr,","),1) = "."
If MyStr was 1,23 it will become 1.23
> Hi all,
> I have a syntax error problem with an update query.
[quoted text clipped - 24 lines]
> Thanks in advance for any responses.
> Roberto
rferrari27 - 03 May 2005 09:40 GMT
Hi Klatuu,
thank you for your response.
The input field is connected to a DB table field: it is a single precision
data type
with two decimal digits (fixed). Input masks are only allowed for fields whose
data type is string, date (not for numeric one), that's why I did not use it.
As a consequence, comma is there because Access does it (in Europe we
don't use dot notation for decimal digits).
rf
> Why is the comma there? Wouldn't it be better to use an input mask for your
> text box that would give you the 1.23? If you really must do this, then:
[quoted text clipped - 29 lines]
> > Thanks in advance for any responses.
> > Roberto