🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1784

Re: multi-thread

#1784
From: Jerry Bloomfield (TeamB)
Date: Tue, 04 May 1999 00:00
30 lines
2024 bytes
On Sun, 02 May 1999 19:51:28 -0500, boukman <boukman@colba.net> wrote:

>Ok ...
>but the way I lay out my thread only one thread do acess the table, is
>the mainThread...

OK,  in one of my applications,  there are many threads running and it
does not have the errors you mention.  It can be done,  so I would look
into exactly what conditions cause your errors.  You may find that you
are accidentally doing something to the table that you do not realize...

>And one more question 
>Another error that I can't solve is whem that maninThread do acces the
>grid that I use to show the Data after a while I get the error that "
>Grid Index is out of range"

Well,  I would guess (since I can't do any more than that with what has
been provided) that you are getting your Grid out of sync with the table
it is receiving data from.  Possibly by adding records to the table
without refreshing it,  then attempting to access the record in the
grid,  but it isn't available ther yet...  Once again,  to resolve this
one,  you will need to do a little debugging to determine what is
causing the problem,  then you should be able to find a solution for
it...

Jerry Bloomfield (TeamB)
-- 
Jerry Bloomfield                                     JersWork@wwa.com
Proud Member of Inprise's TeamB
"We'll do anything if you don't pay us."
Technical Details
Message-ID: <372fb4a5.511757888@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <371C8C41.52B2AE05@inetport.com> <372143B5.BAD47B9F@colba.net> <372660c2.5981951@forums.inprise.com> <372CF310.98EA45@colba.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,7701f417cfbf6044
X-Google-Attributes: gidfcd2b,public
From: JersWork@wwa.com (Jerry Bloomfield (TeamB))
Subject: Re: multi-thread
Date: 1999/05/04
Message-ID: <372fb4a5.511757888@forums.borland.com>
X-Deja-AN: 473918734
Content-Transfer-Encoding: 7bit
References: <371C8C41.52B2AE05@inetport.com> <372143B5.BAD47B9F@colba.net> <372660c2.5981951@forums.inprise.com> <372CF310.98EA45@colba.net>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: JersWork@wwa.com
Newsgroups: borland.public.cppbuilder.database.multi-tier