I made this and in the author mode it erase all the members in the castLib "all_folders" .

  eraseMembers = findEmpty(member 1 of castLib "all_folders")
  repeat with x = 1 to eraseMembers
    member(x, "all_folders").erase()
  end repeat

I hope that it also will work in the projector mode.
/Tony


tisdagen den 26 augusti 2003 kl 20.09 skrev Tony �str�m:


Hi List

I create fields on the fly but can only erase them if they are stored in
the Internal castLib, - findEmpty(member 1)-.
I want to erase them in the "all_folders" castLib. How can I do this?


    repeat with i = 1 to baFolderList(gTextFolder).count
      newMember = new(#field, castLib ("all_folders") )
      newMember.name = "score_" & i
    end repeat

TIA
Tony

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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