I'm having a problem in text fields that come from the MySql database.
I'm using the following statement:
EXEC SQL SELECT bdname INTO wrk-name FROM Costumer (the wrk-name is the PIC X (50).
Then I'm using:
set txtName:: Text to wrk-name
What happens is that the campio txtNAME is completely filled (50 characters) not allowing write nothing but nullifying the blank spaces.
How can I resolve the issue?
(Visual Cobol 2.2 with WPF)



