>Still doesn't works...
>
>I have tried both
>
>#DEFINE adRecDeleted 0x0040000
>and
>#DEFINE adRecDeleted 4
>
>oConn = CreateObject("adodb.connection")
>oRS = CreateObject("adodb.recordset")
>
>oConn.Open("driver=SQL Server;server=pegasus;database=profert;uid=sa;pwd=;")
>
>oRS.Open("select * from ids",oconn,2,3)
>
>oRS.Delete
>
>? oRS.Status = adRecDeleted && it shows me .F.
>
>If I print ? oRS.Status, it shows me a 0
>
>Any more suggestions? Does anybody have a ADOVFP.H that really works in VFP?
Claudio,
I tried with adRecDBDeleted and it does return .T. after a deletion. What is it that you're trying to do?
If you want to see records affected by delete or change try setting oRS.Filter to one of the appropriate values on FilterGroupEnum (ADO API Reference on MSDN).
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only