Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid data source
Message
 
To
16/08/1998 15:54:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127200
Message ID:
00127236
Views:
40
>Thanks, I got the grid to display my cursor ok. Now when I try to edit the data I get an error saying that the record is read only...
>
>I can't find where to set it to read-write. I am using a SQL to populate the cursor.
>
>SELECT Equipdesc.assetid, Equipdesc.location, Equipdesc.area_id, 0000.0 AS meter;
> FROM equipment!equipdesc;
> WHERE Equipdesc.meter_equiped = .T.;
> ORDER BY Equipdesc.location, Equipdesc.area_id;
> INTO CURSOR curMeters
>ThisForm.Grid1.RecordSource = ThisForm.Grid1.RecordSource

John,

All cursors created with SELECT are readonly. Implement your cursor as a view and you can make it updateable.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform