Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
18/07/2002 20:11:58
 
 
To
18/07/2002 14:16:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00680112
Message ID:
00680273
Views:
16
Hi Steven.

I need to display a list of documents into a grid based on an sql query. Within the grid I need to be able to check/uncheck which docs I want to include in a report. I also need to be able to add temporary docs that may not have been in the initial query. Thanks for your help.

If you have a copy of 1001 Things You Always Wanted to know about VFP, there is a sample form in Chapter 6 that does exactly what you want:

How do I use a grid to select one or more rows? (Example: SelGrid.scx)
A multiselect grid is the perfect solution when you must present the user with a large list of items from which multiple selections may be made. The only requirement is that the table used as the grid's RecordSource must have a logical field that can be set to true when that row is selected. If the base table does not have a logical field, it's a simple matter to provide one by either creating a local view from the table or by using it to construct an updateable cursor...
Previous
Reply
Map
View

Click here to load this message in the networking platform