Focal Point
[SOLVED] '%' sign showing up at the end of Text data type.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7617072276

August 20, 2014, 09:42 AM
suni
[SOLVED] '%' sign showing up at the end of Text data type.
Hello,
I am new to web focus development and I am having trouble figuring out why the data at the end of the text field coming from sql server stored procedure is showing a '%' sign.

The Master file also shows it as a text field. I tried to do RTRIM by converting text field to varchar(max) in the stored procedure and it did not work either.

Please help

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 7.6.1,Windows 7
August 20, 2014, 12:26 PM
Alan B
Try:
SET END_OF_TEXT = ' '

in the focexec before the request.


Alan.
WF 7.705/8.007
August 20, 2014, 12:40 PM
suni
Thank you Alan. But, it did not work. Any other ideas?


Webfocus 7.6.1,Windows 7
August 20, 2014, 02:38 PM
Alan B
How long, how many characters, is the actual data in the field being returned?


Alan.
WF 7.705/8.007
August 20, 2014, 02:47 PM
suni
I figured out the solution. The percentage sign disappears when the data type of the field in the master file is changed from TX to A2048V in both usage and Actual fields.

Thank you.


Webfocus 7.6.1,Windows 7