Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form does not release
Message
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00740845
Message ID:
00742383
Views:
19
This message has been marked as the solution to the initial question of the thread.
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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform