Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting items from lists
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040178
Message ID:
01040278
Views:
15
>Thankyou Tamar
>
>Everytime I try to click remove I get the messagebox 'You have not selected a composition type to remove' even if I have selected or not.
>
>Thanks

Why you're going backwards in your loop?
It should be
 for lnI=1 to .ListCount
         if .selected(m.lnI)
             llAny = .t.
             if YesNo("Delete?")  
                delete
             endif
      next
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform