whileprintingrecords;
stringvar Name:="";
if not(isnull({table.first}))
and
trim({table.first}) <> "" then
Name:=trim({table.first});
if not(isnull({table.middle}))
and
trim({table.middle}) <> "" then
Name:=Name&" "&trim({table.middle});
if not(isnull({table.last}))
and
trim({table.last}) <> "" then
Name:=Name&" "&trim({table.last});
name
You could achieve this display by placing the fields directly on the report, without a formula. Or maybe there is some requirement you are not conveying?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.