Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADOVFP.H
Message
De
29/06/2001 16:04:21
 
 
À
29/06/2001 15:50:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00525380
Message ID:
00525388
Vues:
15
>Hi, Everybody.
>
>As we can see on ADOVFP.H, we have the following constant:
>
>#DEFINE ADRECDELETED &H0000004
>
>If I try a code like this one:
>
>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
>
>wait wind o.status = ADRECDELETED
>
>It generates me a Mission Operand Error...
>
>What could I do to solve this problem?

Is that just a typo or you aren't checking the right object? o.Status vs. oRS.Status.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform