I have a module with a key field that is populated by a different dataset than the one in which the data is then saved. I need the code to save this field in the form as well as to create the relationship between the two datasets. I tried to use this code,
// DTS1 is the new dataset
// IDCode is the field in the collection of DTS1 dataset
// IDCode is the field in the form that is loaded from another dataset DTS2
but it saves an empty record and says "reference is broken"
Can you please give me informations?
Thanks in advance as always