Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

Reply
Distinguished Contributor
108 Posts
0 Kudos
Registered: ‎09-06-2006
Post 1 of 2
Accepted Solution

Text Expression Error??

1265 Views, 1 Replies
06-07-2011 07:08 AM

I'm having trouble understanding the Text Expressions.

This Expression works as follows:

 

CONCAT ( CONCAT ( CONCAT ( CONCAT ( PARCEL_NUM , '\n' ), Owner_Name ), Prop_Add1 ), Prop_Add2 )

 

But then I want to add and enter after each field, so i put in this Expression but i get an error saying the number of arguments for function is invalid:

 

CONCAT ( CONCAT ( CONCAT ( CONCAT ( PARCEL_NUM, '\n'),  Owner_Name , '\n' ), Prop_Add1 , '\n' ), Prop_Add2 , '\n' )

 

Any help would be appreciated.

Thanks

 

 

 

 

You need to concatenate each '\n' entry just like the first inside CONCAT with (PARCEL_NUM, '\n').  Each entry needs to be concatenated with the previous concatenation.  Try adding three more CONCATs like:

 

CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( PARCEL_NUM, '\n'),  Owner_Name ), '\n' ), Prop_Add1) , '\n' ), Prop_Add2) , '\n' )

Active Member
9 Posts
2 Kudos
Registered: ‎12-22-2006
Post 2 of 2

Re: Text Expression Error??

06-09-2011 05:55 AM in reply to: cloquet

You need to concatenate each '\n' entry just like the first inside CONCAT with (PARCEL_NUM, '\n').  Each entry needs to be concatenated with the previous concatenation.  Try adding three more CONCATs like:

 

CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( CONCAT ( PARCEL_NUM, '\n'),  Owner_Name ), '\n' ), Prop_Add1) , '\n' ), Prop_Add2) , '\n' )

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!