Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make CA Recordset read-write?
Message
 
 
À
20/07/2010 18:12:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01473204
Message ID:
01473208
Vues:
38
>>Hi,
>>
>>When I am trying to update SQL Server table using CursorAdapter and 'ADO' data access mechanism, I get error:
>>
>>Cannot update ADODB.Recordset because it is read-only.
>>
>>How do you solve this issue?
>>
>>TIA
>
>Check the properties. From VFP Help:
>
>Make sure the ADO Recordset is configured to support updates. The ADO Recordset must typically have its CursorType property be adOpenKeyset, adOpenDynamic, or adOpenStatic, and its CursorLocation property must typically be adUseClient.
>
>http://msdn.microsoft.com/en-us/library/aa976769%28VS.71%29.aspx
>
>There is an example here:
>http://msdn.microsoft.com/en-us/library/ms917355.aspx

Thank you. I will follow the links.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform