Change the format of a numeric DataField in runtime.

forum.td.development (2005-2010)
Francisco Ramon Soler

Change the format of a numeric DataField in runtime.

Post by Francisco Ramon Soler » 26 Mar 2010, 12:13

 Posted by:  Francisco Ramon Soler 

I would like to change the format of a numeric DataField runtime. Eg in the
same program a client has the price with 2 decimals and the other with 3
decimals.

Thanks in advance.

Me gustaria cambiar el formato de un datafield numerico en tiempo de
ejecucion. Ej. en un mismo programa un cliente tiene el precio con 2
decimales y otro con 3 decimales.

Gracias por adelantado.

Rainer Ebert

Change the format of a numeric DataField in runtime.

Post by Rainer Ebert » 26 Mar 2010, 15:46

 Posted by:  Rainer Ebert 

Hi,

we use "SalFmtSetPicture()" for that purpose.

Regards,
Rainer

Francisco Ramon Soler

Change the format of a numeric DataField in runtime.

Post by Francisco Ramon Soler » 29 Mar 2010, 11:39

 Posted by:  Francisco Ramon Soler 

It's a great response, it works perfectly and has really helped me.

Thank you very much for your reply so fast.

Return to “td.development”

Who is online

Users browsing this forum: [Ccbot] and 0 guests