Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not release
Message
From
17/01/2003 15:49:02
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00740845
Message ID:
00743019
Views:
25
>Ernest,
>
>Using a checkbox in a grid is very easy. You can simply add a logical field:
>
>
select .f. as purge, * ;
>   from TheRealTable ;
>   into cursor Purge readwrite
>
>Bind the checkbox to the purge column and then you can scan the cursor and do the real work against the real table based on the PK.
>
>>David, the .clear does not help and .removeobject does not help either. The reason I decided on the listview is because it is easy to add a checkbox to the listview that is not bound to any fields in the table and can be used as a final selection within the selected criteria in the listview i.e. to purge/archive records. I think, (I never tried) that in a VFP-grid it is more difficult to use an unbound checkbox. Thanks.

David this worked out perfectly. Not only the form releases instantly but populating the 16000 records was reduced as well from about 20 to 1 second. The only down side was having to rebuild the grid after each query (well worth the extra coding). Thanks again.
Ernest
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform