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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking two forumla with a comma

Status
Not open for further replies.

ss7415

Programmer
Dec 7, 2006
84
US
i have a forumla, if one fields is blank i do not want to see a comma after, if both are populated i want to see a comma to seperate. how do i do that

{@display} +","+ {@display1}

with this there is a comma regardless
 
Hi,

You probably will need an if statement to achieve this. An example could be something like the following:

Code:
if {@Display} = "" then {@Display1}
else
{@Display}&","&{@Display1}

HTH

TR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top