Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids - Multi-select - Is it possible?
Message
 
 
To
05/03/2008 15:44:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01298851
Message ID:
01299109
Views:
20
>>Hi All,
>>
>>With a grid in vfp8, is it possible to get it to do multi-selection of the records?
>>
>>Can you point me to some examples?
>>
>>I have a single table, that I need to allow the user to view and delete or undelete as needed. No other editing of record is allowed. But they want to be able to highlight several rows and hit a button to mark records as deleted.
>>
>>TIA
>>Beth
>
>Okay, I did mix of both Sergey’s and Naomi’s suggestions.
>
>I copy the table into a cursor with an extra field for ‘marked for deletion’ and do my work on that. When they hit the buttons, then I loop through the cursor and mark the records in the table that match the records in the cursor. And refresh the cursor after action is done.
>

Out of curiosity, how does the user flag a range of records for deletion as you described? How do you detect the Shift-click and update the cursor?

PS -- I think you gave yourself solution stars ;-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform