Given the following code snippet:
dsDynHdl:ADD-RELATION(parentHandle, childHandle,compositeRelFields,FALSE).
Is it possible to define a name value for this relationship at runtime so that the corresponding XSD generated for this ProDataSet reflects the new name value?
<xs:appinfo>
<msdata:Relationship name="RELATION1" msdata:parent="DYNttEmployee" msdata:child="DYNttBonusTrx" msdata:parentkey="empid" msdata:childkey="emp_id" />
</xs:appinfo>
I would assume you can just set it as follows:
assign
myrelation = dsDynHdl:ADD-RELATION(parentHandle, childHandle,compositeRelFields,FALSE)
myrelation:name = "RELATION1".
Note that I did not test this...