Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADOVFP.H
Message
From
29/06/2001 16:04:21
 
 
To
29/06/2001 15:50:17
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00525380
Message ID:
00525388
Views:
14
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform