Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADOVFP.H
Message
From
02/07/2001 12:36:28
 
 
To
30/06/2001 01:19:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00525380
Message ID:
00525946
Views:
11
>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
Map
View

Click here to load this message in the networking platform