| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Nov 29, 2004 7:52 am Post subject: table multi delete |
|
|
i am not sure if this is a bug - perhaps someone can confirm this first
my understanding is that if i have a table with the MULTI style, then selecting several items on the table can all be deleted with the command LIST DELETE however, i find that only the first item is deleted
i have found a workaround and so it is not a problem but the vds documentation says that LIST DELETE should delete all items selected in a table with the MULTI style
and given that we use list commands to do table stuff i assume that the LIST DELETE command would work for tables just as for lists - unless of course the information only refers to lists and not tables
serge _________________
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Nov 29, 2004 9:43 am Post subject: |
|
|
I just checked the runtime source code. LIST DELETE will only delete multiple selected items in list elements. For combos and tables it only deletes a single item. It appears to be a documentation error.
In all of my own programs that use tables, the table row represents some other thing such as a file, so when deleting items I get the selected items into another list and iterate through it to process the deletions, then rebuild the table. So I never noticed this to be a problem. Possibly for VDS 6 this should be changed to bring it in line with the documentation? _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Nov 29, 2004 1:15 pm Post subject: |
|
|
that would be great
thanks jules
serge _________________
|
|
| Back to top |
|
 |
|