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

Splitting an address help

Status
Not open for further replies.

edove

Programmer
Nov 5, 2001
48
0
0
GB
I am reporting off of a Notes database.
I am pulling an address into a report, from a Notes view. In the view, the address is as follows:

85 Headstone Road
Harrow
Middx
HA4 77G

When you view that in the report it is displayed:

85 Headstone Road; Harrow; Middx; HA4 77G

How can I separate it in the report, so that each element after the semi-colon is on a new line?
 
The formula below will remove the ";" and replace it with an "ascii enter"

replace({string.field},";",chr(13))

Format you field to can grow; Mike

 
An alternate solution:

Split({Field},delimiter) - Will split any field up into however many components that are deignated by the delimiter, in your case a semicolon.

Software Support for Sage Mas90, Macola, Crystal Reports, Goldmine and MS Office
 
I get the error of:
"The result of a formula cannot be an array"

Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top