metropoj
4th June 2012, 16:33
I have a product feature that allows a user to type 'z' and will zoom to a table to select an entry.

The user can also type in their option and it validates against the items-generial table using the toupper$ and works

Problem is, I would like the Product Feature to also update to the TOUPPER$ but I can't make it happen.

Anyone do this ? When I tab off the feature or select, I'd like to see that field update to the upper or to auto allow only the upper case to be typed ...

günther
11th June 2012, 09:03
Hi.

Are you using the PCF in a) interpreter mode or in b) compiler (object) mode?

If b), then you can create your own libraries an link them to the object.

If a), then you have some limitations; have a look at expr.compile() that shows valid functions that can be used inside the PCF syntax. I think that you will have to emulate toupper$() by a cascade of "if 1st char = "a" then 1st char = "A" endif" code.

Günther