The WAIT WINDOW requires a character string. Try this in the command window:
WAIT WINDOW .T.
>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?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer