Report builder - fmt item

forum.td.development (2005-2010)
eze

Report builder - fmt item

Post by eze » 24 Jun 2009, 15:19

 Posted by:  eze 

Hi folk
I want to set decimals to 2 or 3 digits depending of the situation in report
builder, but I want to set that values from the aplication developed.
For Example:

Value
#,###.00
#,###.000

The things is that I can put the mask fixed in fmt of item or variable into
report builder. Anyone knows how can I do to define the mask from the code
source and set the format before using a centura function or send by
parameter the mask to RB?

Thanks

Laura

Report builder - fmt item

Post by Laura » 24 Jun 2009, 19:03

 Posted by:  Laura 

Hi,
i use a SalReportSetStringVar(hwndreport,'fmt_dec',sfmtfield)
where sfmtfield ='#,###.00' or sfmtfield ='#,###.000'
and in reportbuilder I use NumberToStrPicture( DETT_QTA ,fmt_dec )
ciao
Laura

FRBhote
India
Posts: 2209
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Report builder - fmt item

Post by FRBhote » 25 Jun 2009, 08:33

 Posted by:  F R Bhote 

NumberToStrPicture(number, picture) ?

Return to “td.development”

Who is online

Users browsing this forum: [Ccbot] and 0 guests