Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 16 of 16 total |
TEDBQuery.OnProgress buglet |
Mon, Jan 28 2008 8:40 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
You never did answer my question. Can I assume you don't need anything from me. Roy Lambert |
Mon, Jan 28 2008 2:48 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< You never did answer my question. Can I assume you don't need anything from me. >> Sorry, I think OE refreshed on me and I missed it. << The main thread has a single session (2 databases, one for disk and one for memory). so yes. >> If you have the same physical tables hooked up to data-aware controls that you are updating, then you may run into trouble when the progress update causes messages to be processed due to the ShowMessage call. IOW, the data-aware controls are going to try to update themselves right in the middle of a query executing, and that is going to cause a problem. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Jan 29 2008 3:57 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
>Sorry, I think OE refreshed on me and I missed it. Isn't it wonderful how it does that. ><< The main thread has a single session (2 databases, one for disk and one >for memory). so yes. >> > >If you have the same physical tables hooked up to data-aware controls that >you are updating, then you may run into trouble when the progress update >causes messages to be processed due to the ShowMessage call. IOW, the >data-aware controls are going to try to update themselves right in the >middle of a query executing, and that is going to cause a problem. That would be data aware controls linked to tables/queries other than the one for which the progress event is being called? I recon the best solution is to put a warning in the manual. User intervention shouldn't really be required in an OnProgress event after all. Roy Lambert |
Tue, Jan 29 2008 3:55 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< That would be data aware controls linked to tables/queries other than the one for which the progress event is being called? >> Sure, if they are using the same session and/or same physical table(s). It could cause the engine to stop what it's doing and start doing something else with the same internal objects that are, at that time, in an inconsistent state. << I recon the best solution is to put a warning in the manual. User intervention shouldn't really be required in an OnProgress event after all. >> I've thought about a warning, but like other topics like multi-threading re-entrancy it is is very hard to condense the circumstances down to a reasonable description that someone can understand. You have to understand how the message processing works in Windows combined with what re-entrancy means combined with how EDB works internally with respect to state. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Jan 30 2008 4:08 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
>I've thought about a warning, but like other topics like multi-threading >re-entrancy it is is very hard to condense the circumstances down to a >reasonable description that someone can understand. I understand where you're coming from I've had it happen to me and I don't understand it >You have to understand >how the message processing works in Windows combined with what re-entrancy >means combined with how EDB works internally with respect to state. err ..... no chance. |
Wed, Jan 30 2008 2:18 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< err ..... no chance. >> Exactly. Just describing the scenario confuses the issue to the point that it doesn't matter. -- Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |