
Originally Posted by
deeptivb
Simpler the setup the better. Excel means you do not have to use any sql scripts to create table. I think you should be able to use the concatenate function in excel. =+CONCATENATE(A1, ",", A2,",", A3) (In the example function above I have used coma as the delimiter. A1, A2, A3 are cells containing the Programs for the same Area.)
VBscript (paste it into the label expression text box in ArcMap labeling engine, Programs is the name of the attribute field with concatenated string, coma delimiter)
Function FindLabel ( [Programs] )
Dim Name, Temp, S
Temp = [Programs]
S=Split(Temp,",")
Dim counter
for counter = 0 to UBound(S)
Name = Name & S(counter) & vbCrLf
next
FindLabel = Name
End Function
Bookmarks