I wonder if your query is caching - is there any option to flush/commit
after doing the .Post?
Have you tried swapping the TADOQuery for a standard TQuery & to isolate if
the problem is due to ADO?
> -----Original Message-----
> From: Chris Crowe [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 12 January 2000 11:56
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: MAJOR ADO PROBLEMS - Please try this code
> and let me
> know if you get the same results
>
>
> I still have to have a delay before checking this....
>
> If I do not have a delay the query returns nothing. This is
> stupid, why is
> this?, what am I doing wrong?
>
> Why after I have posted the record can the query not return
> it unless I
> include a delay?
>
>
> ps: Thanks I never knew about IsEmpty, but it still does not help
>
> Chris
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Mike Mueller
> Sent: Wednesday, 12 January 2000 11:50
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: MAJOR ADO PROBLEMS - Please try this code
> and let me
> know if you get the same results
>
>
> I thought RecordCount was something that was only safe to use
> with Paradox.
> Have you tried using Query.isEmpty to determine if anything
> was returned?
> Or perhaps Query.First, and then check Query.Eof?
>
>
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz