Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re-Assign A Value To An Item In A Collection
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00943953
Message ID:
00943961
Views:
22
This message has been marked as the solution to the initial question of the thread.
Hi Angie,

Yes, you're correct. You've to delete old item and add new one. An alternative would be to store your values as a property of an object which in turn is stored in the collection item.

>
>If I want to change the value of an existing item in a collection, is it possible? As far as I can tell, it seems that you would have to delete the item you want to change and then add it back using the same key with the "new" value.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform