|
-
Mar 21st, 2000, 05:59 AM
#1
Thread Starter
New Member
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...
-
Mar 21st, 2000, 07:47 AM
#2
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|