Problem with decimal separator
- From: "kolja2003" <NOSPAMkolja2003@xxxxxxx>
- Date: Thu, 23 Jun 2005 11:00:56 +0400
Hi,
The locale of my computer uses comma as decimal separator. So MS Access
database uses comma as decimal separator too which is OK.
BUT when in my program I uses ADOQuery.Filter:='Cost='0,0358''; I get empty
dataset. Notice comma as decimal sepatator!
Same time when I use period in it like this:
ADOQuery.Filter:='Cost='0.0358''; it works fine. The recordset isn't empty
and funny but it has comma(!) as decimal separator not period. Remember I
don't change locale!
It seems to me that since ADOQuery uses Sql request and Sql request uses
period as decimal separator then the first expression with comma didn't work
despite it is legitimate from point of view of locale.
SO I have question can I somehow command ADOQuery to legitimate comma
instead of period in Sql request?
.
- Follow-Ups:
- Re: Problem with decimal separator
- From: Vitali Kalinin
- Re: Problem with decimal separator
- From: Guillem
- Re: Problem with decimal separator
- Prev by Date: Re: I GET error message.........
- Next by Date: can U solve my problems?
- Previous by thread: Anyone know how to insert the Chineses Character into the Clob (oracle)?
- Next by thread: Re: Problem with decimal separator
- Index(es):
Relevant Pages
|