Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Bug' with AddListItem in VisFox5
Message
From
28/09/1998 08:54:36
Steve Camsell
Windmill Associates
Bath, United Kingdom
 
 
To
28/09/1998 07:57:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141353
Message ID:
00141388
Views:
15
I agree, and this is my normal technique, I just thought that I'd point out this nasty little hole in the documentation. I now have several procedures tp re-write and re-test. Thanks MS:-))

>Yes,
>Integer there is 16 bits not 32 bits and limit is 65535 signed (-32767...0..32767).
for ix = 32760 to 40000
> this.addlistitem(str(ix),iif(ix<=32767,ix,ix-32767),1)
>endfor
Of course question is now what would happen you exceed that limit too. Probably I would keep actual recnos in cursor and use cursor recno()s as nItemId.
>Cetin
Steve Camsell
Development Consultant
Steve.Camsell@Windmill-DBM.Co.Uk
Previous
Reply
Map
View

Click here to load this message in the networking platform