Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread Some component is connecting
Sun, Feb 9 2014 8:58 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I recently deleted C:\Temp and created a new temporary directory on Z:\Temp.

On opening a form in the IDE (rgTabular) it threw a wobbly because it couldn't create a table in C:\Temp so I changed the temporary directories in the engine and the session components then it opened.

The problem is I can't find out what wants to create the temporary table. I have GExperts set to make sure all of my tables, queries, sessions etc are not active/connected on (I think its save but it might be run) but something on this form wants to pen the session.

There are two tables and three queries on the form but all are set with Active := False.

I suspect FastReport.


Any suggestions for tracking this down in the IDE?


Roy Lambert
Sun, Feb 9 2014 1:03 PMPermanent Link

Barry

Roy,

Are you using the default session? Or do you have a TEDBSession defined in a data module?
If the latter, why can't you create a TEDBSession.AfterConnect event and put a breakpoint in it. The call stack should show you where it was called from.

Barry
Mon, Feb 10 2014 4:27 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Barry


>Are you using the default session? Or do you have a TEDBSession defined in a data module?
>If the latter, why can't you create a TEDBSession.AfterConnect event and put a breakpoint in it. The call stack should show you where it was called from.

Because this occurs on opening the form in the IDE

Roy
Mon, Feb 10 2014 11:01 AMPermanent Link

Barry

Roy Lambert wrote:

<Because this occurs on opening the form in the IDE>

Have you tried installing the EurekaLog eval? It will capture AV's even in the IDE. It may be able to point you in the right direction.

BTW, your problem could also be in your Watch variables that get executed when the IDE is loaded.

Barry
Mon, Feb 10 2014 11:35 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Barry

><Because this occurs on opening the form in the IDE>
>
>Have you tried installing the EurekaLog eval? It will capture AV's even in the IDE. It may be able to point you in the right direction.
>
>BTW, your problem could also be in your Watch variables that get executed when the IDE is loaded.

I use MadExcept but this isn't a bug its just that something on this one form is opening something. It looks as though I'm in for another session of load project, delete component, save, load project check if engine is active, rinse and repeat until its not.

Roy
Mon, Feb 10 2014 11:54 AMPermanent Link

Barry

Roy,

<I use MadExcept but this isn't a bug its just that something on this one form is opening something. It looks as though I'm in for another session of load project, delete component, save, load project check if engine is active, rinse and repeat until its not.>

Sounds like fun. NOT! Unless alcohol is involved and not that stomach churning Stout beer either.Smile

Instead of deleting the data aware components, why not just remove their session property one at a time until the problem goes away?

I don't suppose the component creation order would have anything to do with it? What if your TEDBSession component is created last in the form? I had a problem a year ago along this line. I can't remember the error message though. Used too much alcohol on the problem I guess. SmileBut there is a specific creation order for the EDB components on the form.

Barry
Tue, Feb 11 2014 4:35 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Barry


>Sounds like fun. NOT! Unless alcohol is involved and not that stomach churning Stout beer either.Smile

How about a good bitter, not that anemic stuff sold in the US

>Instead of deleting the data aware components, why not just remove their session property one at a time until the problem goes away?

Why didn't I think of that?

>I don't suppose the component creation order would have anything to do with it? What if your TEDBSession component is created last in the form? I had a problem a year ago along this line. I can't remember the error message though. Used too much alcohol on the problem I guess. SmileBut there is a specific creation order for the EDB components on the form.

It shouldn't be because all the Engine/Session/Database stuff resides on a datamodule

Roy
Tue, Feb 11 2014 9:41 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Barry,

<< I don't suppose the component creation order would have anything to do
with it? What if your TEDBSession component is created last in the form? I
had a problem a year ago along this line. I can't remember the error message
though. Used too much alcohol on the problem I guess. SmileBut there is a
specific creation order for the EDB components on the form. >>

ElevateDB shouldn't require any specific creation order.  Any bugs related
to that have been fixed.

Tim Young
Elevate Software
www.elevatesoft.com
Image