I have a question. Been out of the progress world for quite some time now. Using 10.1c.
I have a simple 3 table dataset. I am wondering if it is possible to convert this dataset into a one level data set merging all fields?
Something like the above.
I have a simple 3 table dataset. I am wondering if it is possible to convert this dataset into a one level data set merging all fields?
Code:
DEFINE TEMP-TABLE ttEquipmentSpec LIKE EquipmentSpec.
DEFINE TEMP-TABLE ttEquipmentJoinOptions LIKE EquipmentJoinOptions.
DEFINE TEMP-TABLE ttEquipmentOption LIKE EquipmentOption.
DEFINE DATASET dsEquipment
FOR ttEquipmentSpec, ttEquipmentJoinOptions, ttEquipmentOption
DATA-RELATION dr1 FOR ttEquipmentSpec, ttEquipmentJoinOptions NESTED
RELATION-FIELD(EquipmentSpecID,EquipmentSpecID)
DATA-RELATION dr2 FOR ttEquipmentJoinOptions, ttEquipmentOption NESTED
RELATION-FIELD(EquipmentOptionID,EquipmentOptionID).
Something like the above.