Subject Re: Migration, and DB connect issues as new screens are opened.
Author chart11610
Some other items I have learned.
How does a component know how to find anther form such as the Data Module (DM). Is there are search path some where in project settings that controlls this.

As a temporary work around:
If I reconnect the IB_connection before I open the table:

qryOrgInfo.IB_Connection:=DM.IB_Connection1;
qryOrgInfo.Open;

Then the problem goes away. I seems like there is some search path thing about the project itself that is lost or confused.

--- In IBObjects@yahoogroups.com, "chart11610" <cjh@...> wrote:
>
> The Environment:
> Application being moved up for Delphi 2007 to Delphi 2010.
> Windows XP with SP 2.
> Problem happens with local Interbase 2009 server, or the IB server is run as a local host connection on the development work station.
> IB Ibjects 4.9.9
> Nothing has really changed about the flow of the application, except for moving it to the latest release of Delphi 2010 and latest release of IB Objects.This application uses Raize components (No DB components), IB_Objects, and the rest the vanilla components that come with Delphi 2010.
>
> The IB_Connection(s) {two databases in use} is on a DataModule along with a few key tables.
> I have made sure that IB_Connection and queries are not left in a connected or active state at design compile time. The main form creates other forms that have IB Queries and other display and logic on them and they all reference the central Data Module (DM.) that holds the IB_Connections. In the past when the form was created, the queries always connected to the IB_Connection. Now the queries on the forms created no longer seem to get connected to the central IB_Connection on the data module, but try and access a development test database that was a left over from design time. Is there some setting, or paraments that needs to be updated with IB_Objects 4.9.9 and Delphi 2010.
>