Problem with Master Detail Subdetail
Posted: Mon May 19, 2008 11:44 am
Hi,
I have a problem to render a report with a Master Detail Subdetail Report, if there are no subdetails.
I have tested it with your demo Master Detail Subdetail Report by deleting all Order Details. But there it works.
My model:
Master
{
ID
..
}
Detail
{
ID
MasterId
...
}
Subdetail
{
ID
DetailId
CommentId
...
}
Comment
{
ID
Name
}
I call Regdata with the Master.
In the report dictionary I can see the following Tables:
-Master
-Master_Detail
-Master_Detail_Subdetail
-Master_Detail_Subdetail_Comment
If I call the report with at least one Subdetail all works fine. But if there are no subdetails I get the exception:
Column '_parentID' does not exist in Data Source 'Master_Detail_Subdetail_Comment'...
It has nothing to do with the design of the report. I tried it with an empty report. Same exception.
Thanks Ralf
I have a problem to render a report with a Master Detail Subdetail Report, if there are no subdetails.
I have tested it with your demo Master Detail Subdetail Report by deleting all Order Details. But there it works.
My model:
Master
{
ID
..
}
Detail
{
ID
MasterId
...
}
Subdetail
{
ID
DetailId
CommentId
...
}
Comment
{
ID
Name
}
I call Regdata with the Master.
In the report dictionary I can see the following Tables:
-Master
-Master_Detail
-Master_Detail_Subdetail
-Master_Detail_Subdetail_Comment
If I call the report with at least one Subdetail all works fine. But if there are no subdetails I get the exception:
Column '_parentID' does not exist in Data Source 'Master_Detail_Subdetail_Comment'...
It has nothing to do with the design of the report. I tried it with an empty report. Same exception.
Thanks Ralf