IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#37133 - 09/08/11 03:58 AM Removing address details
badenk Offline
OL Newbie

Registered: 09/01/11
Posts: 5
Loc: Australia
Hi - obviously new to this and am being tripped up by what I am sure is a simple problem.

I am setting up a business card using the client's contact details. The data is set out in a single text box with, for example, the word "Tel:" next to the telephone number - eg

Tel: +61 2 9792 5555
Fax: +61 2 9775 4444
Mob: +61 413 111 111
Email: smith@smith.com

Now while if the field with the phone number in it is left blank it doesn't appear I can't work out how to make the word "Tel:" disappear. I have tried a tried an IF function as per below:

IF (TRIM([Phone Number]) <> "", "Telephone [Phone Number]", "")

but when I export it to PSWeb it doesn't work - it appears as "Telephone [Phone Number]".

Any help would be appreciated.

Thanks.


Edited by badenk (09/08/11 04:01 AM)

Top
#37134 - 09/08/11 04:17 AM Re: Removing address details [Re: badenk]
Sander vd Berg Offline
OL Expert

Registered: 06/10/08
Posts: 207
Loc: Objectif Lune NL
You're almost there, [Phone Number] should not be between quotes.

IF (TRIM([Phone Number]) <> "", "Tel: " & [Phone Number], "")

Top
#37154 - 09/08/11 08:21 PM Re: Removing address details [Re: Sander vd Berg]
badenk Offline
OL Newbie

Registered: 09/01/11
Posts: 5
Loc: Australia
Perfect - thanks for that - I knew it must have been something small!

Top