Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird behavior of 'Additem' and 'AddListItem' method
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00015486
Message ID:
00015657
Views:
43
>>Luis, you forget one important thing: if cursor was created using CREATE CURSOR..., you can delete/add/index records. It's very flexible in regard to list interactions.
>
>Hi Edward,
>I know that, but then I'm going to need to take care of
>the 'Append' and 'Delete' in my cursor, and then 'requery'
>to update my list, but anyways, this was just to let the
>user to move items from one list box to another, I made it
>with arrays because I found it easier to deal with AddListItem,
>and RemoveItem. It takes care of almost everything for you,
>but has that small bug, or do I need to say 'Feature'..

Say 'Feature'... BTW Insert/Delete/Requery will take about the same amount of coding as AINS(),ADEL(),AddItem,RemoveItem, etc.
The main advantage of Cursor is that it can be indexed/searched. Surely, if you have just ten items or less, it's not the case.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform