Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] '%' sign showing up at the end of Text data type.
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] '%' sign showing up at the end of Text data type.
 Login/Join
 
Member
posted
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
 
Posts: 6 | Location: United States | Registered: August 19, 2014Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Try:
SET END_OF_TEXT = ' '

in the focexec before the request.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Thank you Alan. But, it did not work. Any other ideas?


Webfocus 7.6.1,Windows 7
 
Posts: 6 | Location: United States | Registered: August 19, 2014Reply With QuoteReport This Post
Virtuoso
posted Hide Post
How long, how many characters, is the actual data in the field being returned?


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Reply With QuoteReport This Post
Member
posted Hide Post
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
 
Posts: 6 | Location: United States | Registered: August 19, 2014Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] '%' sign showing up at the end of Text data type.

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.