Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie - can't edit recs in grid (The record is read-onl
Message
From
26/10/2006 07:34:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
26/10/2006 07:10:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01164636
Message ID:
01164663
Views:
7
Mike,

try the following simple program
PUBLIC loFr
loFr=createobject('form')
loFr.Visible = .t.
loFr.AddObject('ogrd','grid')
loFr.ogrd.Visible=.t.
USE getfile('DBF') AGAIN ALIAS curTest
loFr.ogrd.RecordSource = 'curTest'
?loFr.ogrd.ReadOnly,loFr.ogrd.column1.ReadOnly
Can you enter a cell and change a value?

Agnes
>The grid is not set as read-only. Also, the grid did not reflect changes made while in the Browse, even when I moved thru the columns on the grid. That may well be a refresh issue, so my main concern still remains - why does VFP tell me "The record is read-only"?
>
>Any suggestions as to how to debug?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform