Hi,
I've got a problem with the picture clause of a TDBMaskEdit.
In some tables of my app I have a field PRICE defined as a Numeric of
length 14 with 4 decimals. I let the user decide in the configuration
settings of the apps the number of decimals he/she wants to use in range 2
to 4. So I have a function that builds the picture clause needed to edit
the field based on that choice.
Using TDBMaskEdit however the picture clause I set is always ignored as I
always got 4 decimals. I tried to change the picture either before and
after the oDataSet/oDataField pair is assigned but to no result.
Am I doing something wrong ? Is there a workaround ?
--
Regards,
Giuseppe
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Problem with picture
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
- ignacio
- Site Admin
- Mensajes: 9259
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Problem with picture
Giuseppe,
Here is woking fine. Sample attached.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:s180xugjyzu1$[email=.111zh13zd99d.dlg@40tude.net...].111zh13zd99d.dlg@40tude.net...[/email]
> Hi,
>
> I've got a problem with the picture clause of a TDBMaskEdit.
>
> In some tables of my app I have a field PRICE defined as a Numeric of
> length 14 with 4 decimals. I let the user decide in the configuration
> settings of the apps the number of decimals he/she wants to use in range 2
> to 4. So I have a function that builds the picture clause needed to edit
> the field based on that choice.
>
> Using TDBMaskEdit however the picture clause I set is always ignored as I
> always got 4 decimals. I tried to change the picture either before and
> after the oDataSet/oDataField pair is assigned but to no result.
>
> Am I doing something wrong ? Is there a workaround ?
>
> --
> Regards,
>
> Giuseppe
>
Attached files test-1.1-1-1.zip (2.5 KB)Â
Here is woking fine. Sample attached.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:s180xugjyzu1$[email=.111zh13zd99d.dlg@40tude.net...].111zh13zd99d.dlg@40tude.net...[/email]
> Hi,
>
> I've got a problem with the picture clause of a TDBMaskEdit.
>
> In some tables of my app I have a field PRICE defined as a Numeric of
> length 14 with 4 decimals. I let the user decide in the configuration
> settings of the apps the number of decimals he/she wants to use in range 2
> to 4. So I have a function that builds the picture clause needed to edit
> the field based on that choice.
>
> Using TDBMaskEdit however the picture clause I set is always ignored as I
> always got 4 decimals. I tried to change the picture either before and
> after the oDataSet/oDataField pair is assigned but to no result.
>
> Am I doing something wrong ? Is there a workaround ?
>
> --
> Regards,
>
> Giuseppe
>
Attached files test-1.1-1-1.zip (2.5 KB)Â
- ignacio
- Site Admin
- Mensajes: 9259
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Problem with picture
Giuseppe,
Here is woking fine. Sample attached.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:s180xugjyzu1$[email=.111zh13zd99d.dlg@40tude.net...].111zh13zd99d.dlg@40tude.net...[/email]
> Hi,
>
> I've got a problem with the picture clause of a TDBMaskEdit.
>
> In some tables of my app I have a field PRICE defined as a Numeric of
> length 14 with 4 decimals. I let the user decide in the configuration
> settings of the apps the number of decimals he/she wants to use in range 2
> to 4. So I have a function that builds the picture clause needed to edit
> the field based on that choice.
>
> Using TDBMaskEdit however the picture clause I set is always ignored as I
> always got 4 decimals. I tried to change the picture either before and
> after the oDataSet/oDataField pair is assigned but to no result.
>
> Am I doing something wrong ? Is there a workaround ?
>
> --
> Regards,
>
> Giuseppe
>
Attached files test-1.1-1-1.zip (2.5 KB)Â
Here is woking fine. Sample attached.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:s180xugjyzu1$[email=.111zh13zd99d.dlg@40tude.net...].111zh13zd99d.dlg@40tude.net...[/email]
> Hi,
>
> I've got a problem with the picture clause of a TDBMaskEdit.
>
> In some tables of my app I have a field PRICE defined as a Numeric of
> length 14 with 4 decimals. I let the user decide in the configuration
> settings of the apps the number of decimals he/she wants to use in range 2
> to 4. So I have a function that builds the picture clause needed to edit
> the field based on that choice.
>
> Using TDBMaskEdit however the picture clause I set is always ignored as I
> always got 4 decimals. I tried to change the picture either before and
> after the oDataSet/oDataField pair is assigned but to no result.
>
> Am I doing something wrong ? Is there a workaround ?
>
> --
> Regards,
>
> Giuseppe
>
Attached files test-1.1-1-1.zip (2.5 KB)Â
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Problem with picture
Il Thu, 28 May 2009 12:07:46 +0200, Ignacio Ortiz de Zúñiga ha scritto:
Ignacio,
> Giuseppe,
>
> Here is woking fine. Sample attached.
>
> Regards,
Sorry, my mistake. Everythings OK.
--
Regards,
Giuseppe
Ignacio,
> Giuseppe,
>
> Here is woking fine. Sample attached.
>
> Regards,
Sorry, my mistake. Everythings OK.
--
Regards,
Giuseppe
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Problem with picture
Il Thu, 28 May 2009 12:07:46 +0200, Ignacio Ortiz de Zúñiga ha scritto:
Ignacio,
> Giuseppe,
>
> Here is woking fine. Sample attached.
>
> Regards,
Sorry, my mistake. Everythings OK.
--
Regards,
Giuseppe
Ignacio,
> Giuseppe,
>
> Here is woking fine. Sample attached.
>
> Regards,
Sorry, my mistake. Everythings OK.
--
Regards,
Giuseppe