Consultor Eletrônico



Kbase P146120: Error "A table with this name already exists in this binding source" occurs when importing XSD file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/11/2009
Status: Unverified

SYMPTOM(s):

Error "A table with this name already exists in this binding source" occurs when importing XSD file into ProBindingSource

Error occurs when importing XSD file into BindingSource via the Import Schema option

Error Importing Schema
A table with this name already exists in this binding source.

FACT(s) (Environment):

Importing XSD schema into ProBindingSource
XSD file generated via the WRITE-XMLSCHEMA method
ProDataSet defines 3+ DATA-RELATIONs with the NESTED attribute set
Problem does not occur if only 2 DATA-RELATIONs with the NESTED attribute are defined
Problem does not occur if the NESTED attribute is removed from all DATA-RELATIONs
Problem does not occur if the NESTED attribute is removed from any DATA-RELATION after the second
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00184263

FIX:

Remove the NESTED attribute from any DATA-RELATION after the second. For example:

DEFINE {&SCOPE} DATASET dsQuery FOR ttApplicatie, ttModule, ttQuery, ttBuffer , ttField , ttRelation
DATA-RELATION ApplModu FOR ttApplicatie, ttModule RELATION-FIELDS (rappl, rappl) NESTED
DATA-RELATION MODUQUERY FOR ttModule, ttQuery RELATION-FIELDS (rappl, rappl, rmodu, rmodu) NESTED
DATA-RELATION QueryBuffer FOR ttQuery, ttBuffer RELATION-FIELDS(rquer, rquer)
DATA-RELATION QueryField FOR ttQuery, ttField RELATION-FIELDS(rquer, rquer)
DATA-RELATION QueryRelation FOR ttQuery, ttRelation RELATION-FIELDS(rquer, rquer)