Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make CA Recordset read-write?
Message
 
 
To
20/07/2010 18:12:07
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01473204
Message ID:
01473208
Views:
37
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform