Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & SQL cursors
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00002374
Message ID:
00002425
Views:
35
>Is there an easy way to make a Grid display a SQL
>cursor???
>
>Tom
I assume you mean programmatically and not from the command window. I've found that setting the grid.RecordSourceType = 3 (Query) and grid.RecordSource to the name of the cursor (being careful to have the SQL code already saved in a QPR file of the same name), to be effective. Also, have the grid.ColumnCount set to -1 to accept all fields.
Is this what you were looking for? 8-)
Michael P. Haake
FoxPro Programmer
"Doing the best I can!"
** Retired Air Force **
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform