Hi List,
I'm having trouble constructing a repeat loop to copy the text of the hilited lines of 
one field to another field member.  I have a field member "Accounts", the user can 
click on a line in the field to hilite it, then holding down the SHIFT key, click on 
another line below to select a range of accounts. (all become hilited).  I will know 
the line numbers of the first and last hilited lines.  What I need to do, is get the 
text of each of the hilited lines and copy them to another field member. Here's where 
I'm at:

  a = member("Accounts").line gFirstClick
  b = member("Accounts").line gLastClick

  repeat with i = a to b
    put the text of line[i] of member "Accounts" & RETURN after member 
"AccountsSelected"
  end repeat

Thanx in advance for any help with this,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to