> I have a field that contains a list of several fields that I
> want to do a line count on.
> FIELD UPDATELIST
> fld "exportdata" of stack "map"
> fld "sitename" of stack "map"
> In my script I want to get the number of lines that each
> field currently has
> on mouseUp
> put fld UPDATELIST into uLists
> repeat for each line M in uLists
> put the number of lines in M
> end mouseUp
> The result I get is
Is it possible that the last field in your list in fact has only 1 line in
Looking at your repeat loop, things might be going by so fast in the message
box that you only get to see the last iteration. You might try:
put the number of lines in M & "," after msg
Not sure of my syntax exactly, but I hope you see where I'm headed.