Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
#506 session lock error |
Tue, Jul 29 2014 9:19 AM | Permanent Link |
Eduardo | I am having this error in my software and I was reading some of the thread about this.
It is suggested to retry the operation. However this is some levels down in my code and with Aurelius involved. My question is: is there an event or something that I could at database component level retry the operation? Thanks Eduardo |
Tue, Jul 29 2014 11:39 AM | Permanent Link |
Eduardo | Looking closely, I see that this code is on a Thread. Totally forgot that.
I am using a TAnonymousThread in a hope to speed the things for the user. The problem is that Firemonkey TListView loads all the records. It is not smart like VCL DB controls. And there is a lot of related tables to the main one, so it takes many seconds to open. I know I have to have all separated for a thread (session, database, tables, etc), and I am used to do that already on DBISAM. However in this case I am in the main thread and there is a lot of things that are in the context of the main thread. It is not just get the Dataset opened. I see also that the problem I mentioned happens when I am using a slow connection, via internet. In my local lan it is not happening. For some reason my thread made this problem popup. Question: Is there a way to keep using this anonymous thread and not screw the things with EDB? The thread is started and the user gets control over the UI, It can click on the TListView and it will interact with EDB while it eventually still opening other tables. (The tables that are not opened yet is not a problem since the related UI lists and editors will not be enabled) |
Wed, Jul 30 2014 3:40 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Eduardo
>Is there a way to keep using this anonymous thread and not screw the things with EDB? Its difficult to say with the information given so far. Can you post actual code so someone can have a look at it? Roy Lambert |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |