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!

Apply Simple syntax for addr where there are 3 lines

Status
Not open for further replies.

Dakinejo

Programmer
Aug 6, 2008
1
0
0
US
What is the 'Apply Simple' syntax when creating a MicroStrat attribute where the source has 3 addr lines.
Sample I have is:
ApplySimple("#0|| ' ' ||#1", [NAME_LAST], [NAME_FIRST])
As stated there are 3 addr lines, addr_ln1, addr_ln2, addr_ln3. Question how is the applysimple constructed?
If addr_line2 is in the middle will there be a concat on either side? Is there a more efficient way of doing this?

Thakns
 
ApplySimple("#0|| ' ' ||#1||' ' ||#2", [add_1], [add_2],[add_3])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top