Im trying to convert a textbox information to decimal like the following:
01 FIELD PIC 9(10)
...
SET FIELD TO TYPE System.Convert::ToDecimal(self::textbox1::Text)
The problem is that the textbox contains a mask, and the function tries to convert "(XX)XXXX-XXXX" to numeric, and fails.
Is there a way to make the textbox recieve only the typed information?