>>iif(readonly=.f., alltrim(transform(ckval, "@ 999,999,999.99")) + " + ", transform(ckva,"@ 999,999.99")) >>>>I see only stars.
BROWSE FIELDS cc=PADR(iif(readonly=.f., alltrim(transform(ckval, "@ 999,999,999.99")) + " + ", transform(ckval,"@ 999,999.99")), 10)and it shows right, as expected - each of them with a plus, of course. Though, this works... accidentally. Maybe like this:
BROWSE FIELDS cc=PADR(iif(ckval%2=1, alltrim(transform(ckval, "@l 999,999.99")) + " + ", transform(ckval,"@z 999,999.99")), 10)First, whatever would go in the Format field in a textbox, goes between the @ and the space - R, L, Z, $, anything. Second, all the nines, commas and periods go not into Format but InputMask, at least on a form - now this is a label, and there's no way to keep the formatting under programmatic control, so the expression like the one I used here in the browse goes into the Expression. IOW, we can't have alias.field in the expression and some programmatic mumbo-jumbo in the Format tab, but we can have a programmatic expression in the expression tab.