Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consistency error with cursor as rowsource
Message
From
14/06/2004 13:26:58
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Quebec, Canada
 
 
To
14/06/2004 12:59:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00913541
Message ID:
00913560
Views:
16
Salut Guillaume,

You may want to prefer using a Grid instead of a ListBox. Beginning with VFP 8 you can mimic a ListBox with AllowCellSelection=.F. and HighlightStyle=2

Listboxes are not really designed to support that many items.

>Hi everyone,
>
>Try this :
>Create a form and put a listbox on it.
>Create a cursor with one field and about 56000 records.
>Make that cursor the rowsource for the listbox. No problem.
>You can scroll as much as you want.
>No, make an index on the cursor ex. index on c_Field tag c_Field
>Now, if you try to scroll with the listbox, you'll get an Internal Consistency error.
>
>Bug or feature?
>
>Any suggestions more then welcome.
>
>Thanks
>
>Chris
>The Missing Link
Previous
Reply
Map
View

Click here to load this message in the networking platform