Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00680112
Message ID:
00680141
Views:
19
The time is slow today... Must be the weather :)

>Beat me by 9 seconds!!!! :)))
>
>The funny thing is what we're saying absolutely the same in different words...
>
>Isn't spiritual? :)
>
>>>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.
>>
>>Add a calculated logical field to your SQL query (SELECT ..., .f. AS myCheck,...), make your cursor updatable ( SELECT ... READWRITE in VFP 7 or USE(DBF(mycursor)IN 0 AGAIN for other versions). Add the checkbox control into grid column (.sparse = .f.) corresponding to the logical field. If the cursor is updatable, you will be able to add records to it the way you want.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform