Re: ADO

From: Danny Springer (danny.springer_at_removejunkmail.hccnet.nl)
Date: 02/26/04


Date: Thu, 26 Feb 2004 23:48:53 +0100

Pardeep Kadian wrote:
> TESTHR(pRstEmployee.CreateInstance(__uuidof(Recordset)));
> hr = pRstEmployee->Open("Select * from PardeepDummy",
> _variant_t((IDispatch *)pConnection,true), adOpenForwardOnly,
> adLockReadOnly, adAsyncExecute);
I think your problem is in this line, if you look up adAsyncExecute,
you'll get:
An operation that returns control to the calling program without waiting
for the operation to complete. Before the operation is complete, code
execution continues.

I normaly use adOptionUnspecified.

Regards,
Danny Springer



Relevant Pages

  • Re: ADO
    ... Pardeep Kadian wrote: ... I think your problem is in this line, if you look up adAsyncExecute, ... An operation that returns control to the calling program without waiting ...
    (microsoft.public.data.oledb)
  • Re: ADO
    ... Pardeep Kadian wrote: ... I think your problem is in this line, if you look up adAsyncExecute, ... An operation that returns control to the calling program without waiting ...
    (microsoft.public.vc.database)
  • Re: Access Password
    ... including a control with a format specified as Password. ... In the onclick evens for both buttons, ... switch to some value so the calling form knows which button was pressed. ... Then, from the calling program, close the dialog form. ...
    (microsoft.public.access.forms)
  • Re: fts(3) depth or breadth first?
    ... | WA> is there any way to control the depth that ftsgoes to? ... | No. fts is only depth first (but in the same time depth last, ... calling program to do; more code for the programmer to write. ...
    (comp.unix.programmer)

Loading