Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating an item in a list
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00023317
Message ID:
00023416
Views:
26
Gary,

I believe it *can* be done - but yuo would have to use the List property to do it.
Form a KB article I understand that Additem will, when you specify an index which is already present in the list, *insert* the item before the existing item (I guess that the "ADD" in AddItem sort of conveys this).

I have found that, using List, I can add/replace items at will, even in multi-column lists.

Good Luck
Jim N.

>>>I have an unsorted list which is not bound to anything. All the elements have been added programatically using AddItem. The elements in the list are query conditions e.g. "table1.field1 = 1234 AND"
>>>
>>>Is it possible to update the value of a list item without removing it and then re-adding it? I want the item being modified to remain in the same spot.
>>>
>>>TIA
>>
>>I guess that array or cursor as RowSource would be more relevant to this case.
>
>Are you saying it can't be done?
Previous
Reply
Map
View

Click here to load this message in the networking platform