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.

Problem with picture

Xailer professional forum in English
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Problem with picture

Mensaje por Giuseppe Bogetti »

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
Responder