Re: adoquery thread

From: Sang Tang (STang_at_abcmts.net)
Date: 05/06/04


Date: Thu, 6 May 2004 10:29:37 +0800

thanks Lewis,
the sql statement will return 1record and 1field only(a blob field), but it
need more time to process. so I want to write a thread query to reduce the
writing time. Can I write a function call to return the value instead of
public variable?

"David Lewis" <davidl@ocuco.com> wrote in message
news:40991ed5$1@newsgroups.borland.com...
> You can just declare a public variable of the TThread object, set it in
the
> thread after opening the query and accessing it in the main thread. (
unless
> I don't understand the question completely ).
>
> "Sang Tang" <STang@abcmts.net> wrote in message
> news:4098c132@newsgroups.borland.com...
> > I've created a thread adoquery, but I dont know how to return the value
of
> a
> > field to application. How can I do it?
> >
> > THANKS
> >
> >
>
>