Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Master Detail and datamodules firedac and interbase



Permlink Replies: 2 - Last Post: Sep 22, 2016 9:20 AM Last Post By: John MacDonald
John MacDonald

Posts: 179
Registered: 3/22/98
Master Detail and datamodules firedac and interbase
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 17, 2016 12:10 PM
Sorry I hope its not a bother on this one....

I'm using datamodules for my database relationships.

If I want a Master detail between two queries in firedac it looks like the datasource must be in the same module.

Is this right?

--
JMAC out
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: Master Detail and datamodules firedac and interbase
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2016 10:26 PM   in response to: John MacDonald in response to: John MacDonald
If I want a Master detail between two queries in firedac it looks like the datasource must be in the same module.

No. Master datasource may be in any one data module.

--
With best regards,
Dmitry
John MacDonald

Posts: 179
Registered: 3/22/98
Re: Master Detail and datamodules firedac and interbase
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 22, 2016 9:20 AM   in response to: Dmitry Arefiev in response to: Dmitry Arefiev
Thanks Dimitry:

Unfortunately, I have many datamodules and many components in our old system.
I'm in the process of moving to firedac and away from the BDE in C++.

For some reason the FDQuery can not see outside the datamodule where it resides.

I moved the FDQuery to the other module and in the short term is appears to be working.

Thanks again.

Dmitry Arefiev wrote:
If I want a Master detail between two queries in firedac it looks like the datasource must be in the same module.

No. Master datasource may be in any one data module.

--
With best regards,
Dmitry

--
JMAC out
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02