I have declared in the working storage of my Windows form a numeric variable as follows:
01 tmp-Num pic 9(10)
I am trying to move the text from a text control to a numeric field variable a follows:
Set tmp-Num to txt_CLNT-NAME-SELECT::Text.
But I received a “cannot implicitly convert string to binary-doubled unsigned”. I type a 10 numeric digit in the txt_CLNT-NAME-SELECT but my form, it seems, is defining it as alphabetic characters. I only want numeric fields to be typed into the txt_CLNT-NAME-SELECT::Text because I need to do calculation with it.