Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid generation at runtime
Message
De
02/03/2002 11:31:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/03/2002 11:19:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00627347
Message ID:
00627398
Vues:
12
>Hi cetin,
>
>I worked fine, is it possible to display only some fields form the cursor.
>the cursor "TEMP" is from from sql. I am created the cursor using CREATE CURSOR.
>
>How can i and delete the records in the grid.
>
>Murali.

Murali,
Yes and multiple ways again :)
Easiest for you would be to have your fields in SQL in front and set columncount. ie:
*Load
create cursor temp (WillShow1 i, WillShow2 d, WillShow3 i, NoShow1 i, ....)

*Form.init
with this.myGrid
 .Recordsource=''
 .ColumnCount=-1 && Needed for a reset - if not here column formats preserved
 .RecordSource='temp'
 .ColumnCount=3
endwith
Delete is by delete command or clicking on delete mark.
PS: Set deleted on and move off the deleted record before a refresh.
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