Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Cursor Results in Form Grid
Message
De
20/05/1999 13:19:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/05/1999 13:13:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00220961
Message ID:
00220968
Vues:
31
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform