Printing Dive Types in reports

Discussions about Diving Log 6.0 - questions and hints
Post Reply
No Waiting
Posts: 19
Joined: Thu Apr 19, 2007 09:58

Printing Dive Types in reports

Post by No Waiting »

Sorry to be a bit thick here, only I'm trying to workout the correct syntax to get my Dive Types printed as -

Fun, Night, Cave - ie with commas and spaces

and not

Fun,Nigh,Cave - just commas, as they do at the moment


Any help here would be apprechiated

Cheers
divinglog
Site Admin
Posts: 5223
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Post by divinglog »

Yes, this is no problem. Use one of these formulas for the field content:

Code: Select all

StrSubst$ (LogDivetype,",","¶")
Result:
Fun
Night
Cave

Code: Select all

StrSubst$ (LogDivetype,",",", ")
Result:
Fun, Night, Cave

You can replace the comma with any characters you want.
No Waiting
Posts: 19
Joined: Thu Apr 19, 2007 09:58

Post by No Waiting »

Many thanks for a prompt reply - I'll give this a try shortly...
Post Reply