Whitespace
Hi,
I'm new to fs4, I have a Tfrxmemoview liked to a dataset and dataview called First_Name and one Tfrxmemoview called Last_Name.
The problem comes when both expressions are combined, how to eliminate the white space between the expressions
I keep getting
instead of
Hope someone can help
Thanks in advance
I'm new to fs4, I have a Tfrxmemoview liked to a dataset and dataview called First_Name and one Tfrxmemoview called Last_Name.
The problem comes when both expressions are combined, how to eliminate the white space between the expressions
I keep getting
Welcome Jim                  Smith                    many .......
instead of
Welcome Jim Smith and
Hope someone can help
Thanks in advance
Comments
'Dear [<dataset.field1>] and [<dataset.field2>]'
Sorry tried that but still not working
I have combined the two fields as expression
The whitespace allways appears. Can i set field widths dynamically from code as in sql, see code below
I can then add
No whitespace
Anu was correct, it is the fact that your white space is coming from your data that you need to wrap the fields with appropriate functions.
first when using multiple fields in 1 memoview don't link the memoview to a data set or field
just use an expression.
The expression may be built using the expression builder
ie select memoview rclick and enter edit mode
select the expression button and the expression builder dialog appears
select the desired function in the expression box place the cursor between the ()
then go back and select the datafield click on okand the correct text will be added to the memo.
ie
[Trim(<Customer."Firstname">)] [Trim(<Customer."LastName">)]
I had been trying to use Trim, but in the wrong place.
Thanks, best service ever.