>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,
Sorry I forgot to tell you, you cannot use select to populate the cursor. That creates a read only cursor. use select and create an array. Then append from an array to the cursor. The cursor has to be created using 'CREATE CURSOR' command before the form is fired.
Alhad
Only direct experience is Knowledge;
Everything else is just Information.