Hi DevArt!!
I found a problem in UniDAC Master-Detail relation ship.
the project to reproduce the problem can be downloaded in http://www.drdsistemas.com.br/UniDac.7z
information
Unidac 2.00 or 1.20 Last Build, some problem.
FireBird 2.0
Delphi 7 Enterprise
Best regard's
Ambiguous field name between table...
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
Ok, i can keep property DetailFilds empty in this case?Plash wrote:You should not set the MasterFields and DetailFields properties. If you assign CODPRO to these properties, this field name is automatically added to the SQL. In your case this is not allowed because field with such name exits in two tables.
-
eduardosic
- Posts: 387
- Joined: Fri 18 Nov 2005 00:26
- Location: Brazil
Ok Plash, using DetailFields unidac add field used in where ..eduardosic wrote:Ok, i can keep property DetailFilds empty in this case?Plash wrote:You should not set the MasterFields and DetailFields properties. If you assign CODPRO to these properties, this field name is automatically added to the SQL. In your case this is not allowed because field with such name exits in two tables.
thank's for Fast Support!