Page 2 of 2

Re: How to create master-detail report

Posted: Thu Aug 15, 2013 11:31 am
by HighAley
Hello.

It's not clear what problems do you have with this report.
Could you describe your issue more detailed?

Thank you.

Re: How to create master-detail report

Posted: Fri Aug 16, 2013 1:25 am
by stvhui
Hi Aleksey

I had attached the VB code, data and report at previous discussion.

Please download WindowsApplication6.zip

Thanks & Regards,
Steven

Re: How to create master-detail report

Posted: Fri Aug 16, 2013 6:12 am
by HighAley
Hello, Steven.

If you will run Designer you will see your problem.
At first you should set TableName:

Code: Select all

dt1.TableName = "dt1"
dt2.TableName = "dt2"
Then you should clear data souorces before registering your DataTables:

Code: Select all

rpt.Dictionary.DataSources.Clear()
Thank you.