forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


table multi delete

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Nov 29, 2004 7:52 am    Post subject: table multi delete Reply with quote

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 Crying or Very sad

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Nov 29, 2004 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Nov 29, 2004 1:15 pm    Post subject: Reply with quote

that would be great Smile

thanks jules

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group