Results 1 to 2 of 2

Thread: guidance for files needed!!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    10
    I was wondering if it is all possible to edit & delete a record from a file (say a list of items displayed in a list box). I don't need help from updating and deleting records from a database. If so how is this accomplished. I am stuck and in need of help, please...

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Deleting and editing stuff from a listbox is easy, find out the item number of the item you want 1 is the first item in the list, 2 the 2nd etc, or if it's the selected one the number you want will be List1.L:istindex

    call this number i

    to remove item i use
    List1.Deleteitem(i)

    and to edit it use


    List1.Deleteitem i
    List1.Additem strNewString,i



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width