RANDY_AT_TRADEWINDS
Member²
I'm evaluating your product and am trying to set up a master/detail relationship. The detail table I'm using is the detail table for many tables (address table) therefore it has no foreign key to the master, but it does have a field that references the master (ie. matches one in the master table).
Master Table = CFSA_OFFICE
PRIMARY KEY = CFSA_ID
TORACLEDATASOURCE = Q_CFSA
Detail Table = ADDRESS_TABLE
PRIMARY KEY = ACCOUNT
TORACLEDATASOURCE = T_ADDRESS
I'm using 2 toracle datasets. On the master table I just set it up normally. On the detail table, I set the master field = q_cfsa. In the masterfields table I put the primary key field of the master table (cfsa_id).
My sql code in the detail toracledataset is;
SELECT ADDRESS_TABLE.ROWID,ADDRESS_TABLE.*
FROM ADDRESS_TABLE
WHERE ACCOUNT = :CFSA_ID AND
ACCOUNT_TYPE = 'CFSA'
The problem is, that the value of the account field is null when the insert occurs. In fact, several other fields in the master table is null. What am I doing wrong? I like your product, but this has me stumped.
Master Table = CFSA_OFFICE
PRIMARY KEY = CFSA_ID
TORACLEDATASOURCE = Q_CFSA
Detail Table = ADDRESS_TABLE
PRIMARY KEY = ACCOUNT
TORACLEDATASOURCE = T_ADDRESS
I'm using 2 toracle datasets. On the master table I just set it up normally. On the detail table, I set the master field = q_cfsa. In the masterfields table I put the primary key field of the master table (cfsa_id).
My sql code in the detail toracledataset is;
SELECT ADDRESS_TABLE.ROWID,ADDRESS_TABLE.*
FROM ADDRESS_TABLE
WHERE ACCOUNT = :CFSA_ID AND
ACCOUNT_TYPE = 'CFSA'
The problem is, that the value of the account field is null when the insert occurs. In fact, several other fields in the master table is null. What am I doing wrong? I like your product, but this has me stumped.