Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid data source
Message
 
À
16/08/1998 15:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127200
Message ID:
00127236
Vues:
33
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform