Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADOVFP.H
Message
De
02/07/2001 12:36:28
 
 
À
30/06/2001 01:19:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00525380
Message ID:
00525946
Vues:
12
>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).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform