Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I Display Cursor in a Grid
Message
De
28/12/2001 07:59:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/12/2001 00:50:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00598679
Message ID:
00598738
Vues:
16
>Good Night,
>I am writing application which assigns supervisors to staff members within their department.
>
>I created a form which display personal data for the supervisor and a command button which when click will open another form with a grid displaying all staff members of that department and supervisor assigned.
>
>From this grid you can re-assigned supervisors.
>I entered the Query (which output to a cursor) in the form's INIT event and entered the cursor name as the grid control source but this doesnot work.
>
>Is there any one who can guide me through process.
>
>Thanks in advance
>
>P.Ghervis

Peter,
* Form.init
lparameters tuCode
with this.Grid1
 .RecordsourceType = 4 && SQL
 .RecordSource = 'select * from myTable where myCode = '+trans(tuCode)+;
 ' into cursor crsGrid'
endwith
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