Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Go Back   Foros Club Delphi > Principal > Providers
Register FAQ Members List Calendar Guía de estilo Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 15/10/2013
dison dison is offline
Miembro
 
Join Date: Nov 2004
Posts: 30
Poder: 0
dison Va por buen camino
Angry TClientDataset1.Filter Error locale

Tengo una App Datasnap y estoy teniendo problema con un filtro si la PC tiene el idioma Italy, si el idioma es US todo funciona bien.

If the language of the PC is Italy this filter return 0
var
pricefrom,priceto ouble;
begin
Tclientdataset1.filter := format( ' (pricefrom >= %f and priceto <= %f) ',[1,7000000]);
Tclientdataset1.Filtered:= True;
end;
If the language of the PC is US this filter work fine
var
pricefrom,priceto ouble;
begin
Tclientdataset1.filter := format( ' (pricefrom >= %f and priceto <= %f) ',[1,7000000]);
Tclientdataset1.Filtered:= True;
end;

I'm getting crazy with this, i had tried everything, some help is appreciated
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error con SQLQuery.Filter marilinspi Varios 1 29/08/2011 14:35
Error con TAdoQuery Filter kambiz Conexión con bases de datos 19 15/03/2011 01:00
Uso de filter CONY Conexión con bases de datos 1 02/08/2006 22:48
Locale con TDbf ¿ porque no me funciona? userlazarus Conexión con bases de datos 2 11/06/2006 16:06
Como funciona el Locale Michel Varios 3 22/07/2003 17:12


All times are GMT +2. The time now is 05:30.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi