Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Cursor Results in Form Grid
Message
From
20/05/1999 13:19:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/05/1999 13:13:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00220961
Message ID:
00220968
Views:
33
>I'd like to display the results of a select query cursor on a form grid. I can't access the cursor from the builder app and when I try placing the cursor value (THISFORM.Grid1.RecordSource="Q_cursor") and the appropriate controlsource in the grid text fields the grid is blank but the cursor is not. Do I need to set the RecordSourceType (it's Table) to another value? The grid works fine when the RecordSource is a data environment table??
>
>TIA.
>
>/Chris
Easiest is to move SQL code to rowsource and set rowsourcetype to SQL.
ie:
Rowsourcetype = SQL
Rowsource = "select * from sometable into cursor crsGrid"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform