Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids without a data source
Message
From
22/03/2004 11:36:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/03/2004 11:22:44
Paul Trimming
Lonely Pilgrim Shareware
Merstham, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888489
Message ID:
00888551
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform