Problem with master detail
Posted: Thu 22 Feb 2007 23:00
I am having problems with the following situation:( Delphi 7)
3 MyQueries: QA, Qb and QC
QA has no setting of mastersource etc... and has a "Where" condition over field named Item
QB has a mastersource indicating QA, and Master field relation:
QA field Item = QB field AItem
QC uses QB as master source, and indicates as master fields
QB field AItem = QC field ACTItem and more
QB field AEmp = QC field ACTEmp
(I hope you could undestand it) but the fact is that it works beautifully except in one condition:
if it occurs that there are no records in QC that atends to the relation with QB, it also does not show the record in QB that exists. If I remove the ralation between QB and QC, the record in QB is presented.
If you could undesrstand my explanation ( and my english) I would be very happy to receive an answer.
Edison Garcia
3 MyQueries: QA, Qb and QC
QA has no setting of mastersource etc... and has a "Where" condition over field named Item
QB has a mastersource indicating QA, and Master field relation:
QA field Item = QB field AItem
QC uses QB as master source, and indicates as master fields
QB field AItem = QC field ACTItem and more
QB field AEmp = QC field ACTEmp
(I hope you could undestand it) but the fact is that it works beautifully except in one condition:
if it occurs that there are no records in QC that atends to the relation with QB, it also does not show the record in QB that exists. If I remove the ralation between QB and QC, the record in QB is presented.
If you could undesrstand my explanation ( and my english) I would be very happy to receive an answer.
Edison Garcia