Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox
Message
 
To
20/01/1999 21:10:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00177457
Message ID:
00178837
Views:
35
>Jim,
>
>Adding to yours, my experience (VFP5) was that ItemID stays behind even after a RemoveItem *and* that a subsequent AddListItem puts any item with the same ItemID into the "old" slot regardless, overriding whatever was stated in the parameters.
>
>It was then that I learned to use the List property for all list manipulations, because my need for ItemID is nil (at least to date).
>
>Cheers,
>
>Jim N
Jim,

You are correct. If you should decide to use AddListItem again, just use the NextItemID property, increment it by 1 and you arte guaranteed a new ItemID. It is irksome that the property named NEXTitemID holds the last item ID that was used.
Previous
Reply
Map
View

Click here to load this message in the networking platform