Page 1 of 1
Master _ Detail connection is failed
Posted: Sat 31 May 2008 07:05
by Irvine
Hello,
I have a big problem.
I develop new software by VS2008 and use PostgreSQL data accass package.
When I create new form what contains a lot of controls and I would like to try create Master - Detail relation, it doesn't work.
I can see only one tables datarows.
If I use Microsoft VS2008 component than the master-detail connection is ok.
Why?
How can I find one example?
Help Me, please?
Posted: Mon 02 Jun 2008 07:33
by Alexey.mdr
Hello,
Please check the following samples in the Start menu for the master-details relation:
Core Lab PostgreSQLDirect for .NET2 -> Samples -> WinForms
or
Core Lab PostgreSQLDirect for .NET2 -> Samples -> Web
The number of controls should not interact with PostgreSQLDirect .NET.
Let me know if the problem is solved.
Regards,
Alexey.
Posted: Mon 02 Jun 2008 17:20
by Irvine
Hello,
Thank You your advice.
I tried compile the sample project, but I receive a lot of error message.
Error 1 Missing partial modifier on declaration of type 'Samples.Crystal.ReportDataSet'; another partial declaration of this type exists C:\Uj szamlazo program\Teszt projectek\Backup\CS\Crystal\ReportDataSet.cs 22 18 Samples
Error 2 The type 'Samples.Crystal.ReportDataSet' already contains a definition for 'EmpRowChangeEventHandler' C:\Uj szamlazo program\Teszt projectek\Backup\CS\Crystal\ReportDataSet.Designer.cs 256 30 Samples
Error 3 Missing partial modifier on declaration of type 'Samples.Crystal.ReportDataSet.EmpDataTable'; another partial declaration of this type exists C:\Uj szamlazo program\Teszt projectek\Backup\CS\Crystal\ReportDataSet.cs 136 22 Samples
Error 4 Missing partial modifier on declaration of type 'Samples.Crystal.ReportDataSet.EmpRow'; another partial declaration of this type exists C:\Uj szamlazo program\Teszt projectek\Backup\CS\Crystal\ReportDataSet.cs 362 22 Samples
Error 5 The type 'Samples.Crystal.ReportDataSet' already contains a definition for 'EmpRowChangeEvent' C:\Uj szamlazo program\Teszt projectek\Backup\CS\Crystal\ReportDataSet.Designer.cs 791 22 Samples
I use VS2008 and PostgreSQL Direct 3.50 trial version.
Irvine
Posted: Tue 03 Jun 2008 08:16
by Alexey.mdr
Hello Irvine,
The samples were originally build in Visual Studio 2005.
When Visual Studio 2008 uses conversion wizard, it creates ReportDataSet.Designer.cs file.
Please delete this file and rebuild the project.
Regards,
Alexey.