Thread View: borland.public.cppbuilder.database.multi-tier
5 messages
5 total messages
Started by Eddie Shipman
Tue, 20 Apr 1999 00:00
Interbase Licensing issue
Author: Eddie Shipman
Date: Tue, 20 Apr 1999 00:00
Date: Tue, 20 Apr 1999 00:00
2 lines
645 bytes
645 bytes
Does anybody know Interbase's licensing for a deployment as a web database server?
Re:multi-thread
Author: boukman
Date: Fri, 23 Apr 1999 00:00
Date: Fri, 23 Apr 1999 00:00
8 lines
823 bytes
823 bytes
I'm making a application that use Multi thread but I keep getting a error From TDataBase that processs is not set in insert or edit mode and I don't know how to solve it. Can't synchronize the thread also I'm using Beginthread to stard my thread need some help Tanks
Re: multi-thread
Author: Jerry Bloomfield (TeamB)
Date: Sun, 25 Apr 1999 00:00
Date: Sun, 25 Apr 1999 00:00
17 lines
1417 bytes
1417 bytes
On Fri, 23 Apr 1999 23:08:21 -0500, boukman <boukman@colba.net> wrote: >I'm making a application that use Multi thread but I keep getting a error >From TDataBase that processs is not set in insert or edit mode and I >don't know how to solve it. Can't synchronize the thread also You do not mention it, but I assume that you are trying to use the same TDatabase in all of your threads. If that is the case, I would expect problems like this to arise. You need to use a different TSession for each thread that will be accessing your database. In that case, you will probably also want a different TDatabase for each thread as well... Jerry Bloomfield (TeamB) -- Jerry Bloomfield JersWork@wwa.com Proud Member of Borland's TeamB "We'll do anything if you don't pay us."
Re: multi-thread
Author: boukman
Date: Sun, 02 May 1999 00:00
Date: Sun, 02 May 1999 00:00
36 lines
1954 bytes
1954 bytes
"Jerry Bloomfield (TeamB)" wrote: > > On Fri, 23 Apr 1999 23:08:21 -0500, boukman <boukman@colba.net> wrote: > > >I'm making a application that use Multi thread but I keep getting a error > >From TDataBase that processs is not set in insert or edit mode and I > >don't know how to solve it. Can't synchronize the thread also > > You do not mention it, but I assume that you are trying to use the same > TDatabase in all of your threads. If that is the case, I would expect > problems like this to arise. You need to use a different TSession for each > thread that will be accessing your database. In that case, you will > probably also want a different TDatabase for each thread as well... > > Jerry Bloomfield (TeamB) > -- > Jerry Bloomfield JersWork@wwa.com > Proud Member of Borland's TeamB > "We'll do anything if you don't pay us." Ok ... but the way I lay out my thread only one thread do acess the table, is the mainThread... 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" can you help me on what is causing that error ... and possible solution... Tanks for youre help Rudolph Domigue boukman@colba.net
Re: multi-thread
Author: Jerry Bloomfield (TeamB)
Date: Tue, 04 May 1999 00:00
Date: Tue, 04 May 1999 00:00
30 lines
2024 bytes
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."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads