Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids without a data source
Message
De
22/03/2004 11:36:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/03/2004 11:22:44
Paul Trimming
Lonely Pilgrim Shareware
Merstham, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888489
Message ID:
00888551
Vues:
14
>Thanks very much for the help. I have done the following code in the load method:
>
>local JnlCursor
>CREATE CURSOR JnlCursor (fldCC C(5), fldAcNo N(5), fldAmt N(6,2), fldDesc C(50))
>
>thisform.Grid1.columncount = 4
>THISFORM.Grid1.RecordSource = JnlCursor
>append blank
>
>However, the grid is still readonly, and I can't enter anything! Is there anything wrong with my code?
>
>Thanks,
>Trimtrom

At first glance :
THISFORM.Grid1.RecordSource = JnlCursor
is wrong. It should be :
THISFORM.Grid1.RecordSource = "JnlCursor"
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