>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.aspxThere is an example here:
http://msdn.microsoft.com/en-us/library/ms917355.aspx
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"