No Spaces returned of FILL-IN

Status
Not open for further replies.

hberger

New Member
Seems like FILL-IN:SCREEN-VALUE doesn't return spaces.
e.g. Screen= "1234 " Screen-Value = "1234"
Is there any option to get rid of this?
 

Chris Kelleher

Administrator
Staff member
I was never aware of this before, but I just tested the same thing and the screen-value does strip trailing spaces (but not leading spaces). I just looked in the online help and found the following:

<BLOCKQUOTE><font size="1" face="Arial, Verdana">quote:</font><HR>
PROGRESS truncates trailing spaces in character fields. If a character field contains only one space, PROGRESS truncates the space to a null value. You can use the TRIM function to truncate leading and trailing spaces.
<HR></BLOCKQUOTE>

Why do you need to know if there are trailing spaces or how many? If I knew this, maybe I could suggest an alternate method for solving your problem.

-Chris
 

hberger

New Member
I need the FILL-IN to search a browser. with every key typed, the browser is repositioned. the searched column contains strings of different length with spaces between. (in fact it's a short form of an adress)
ok. enough facts. i already have a 'dirty' solution. just want to know if there is any 'undocumented feature' the get the full contents.

thanks
Harry
 
Status
Not open for further replies.
Top