Examples: Currency_SetLeadingSymbol()


The following example is part of the change script for the save button in a window used to define currency formats. It uses this function to define the currency symbol placement for the multiformat value 3000, based upon whether a user checked the lead_symbol check box. The result of this function is set to the cs_placement field, which is saved in the currency_format table.

cs_placement of table currency_format = Currency_SetLeadingSymbol (3000, lead_symbol);
save table currency_format;


Documentation Feedback