Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concatenate fields 3

Status
Not open for further replies.

ekta22

IS-IT--Management
May 3, 2004
359
US
Hi,

I have 5 fields on my report out of which 3 are formula fields. How can I concatenate them into one field? Also how can I hide a field on a report?

Thanks,

Ekta
 
Sorry, the accumulation code got lost there. The formula should look like:

if isnull({pPC60403.FFA_REMOTE_BASE_IDENT}) or {pPC60403.FFA_REMOTE_BASE_IDENT} = "" then
n := n + space(3)
else
n := n + ({pPC60403.FFA_REMOTE_BASE_IDENT}) + space(3-length({pPC60403.FFA_REMOTE_BASE_IDENT}));

Note the "n +" after each ":=".

You should also begin the formula with the following so that the accumulation starts anew with each record:

stringvar n := "";

-LB
 
Thanks guys. This works just fine. Thanks for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top