How can I filter the records in one SDO based on values that are absent from another unlinked SDO?
I have a many to many relationship between table A and table B with table C being the interfile to link the two tables. I have an input screen for table A with a button to launch a window to create links to table B by creating records in table C. The child window has SDOs and browsers for both table B and table C and the foreign fields are passed from the parent window.
There are buttons to add and remove records from table C based on the currently selected row in one or the other browser. As there is a fairly limited number of records from table B which are eligible to be linked with table A I would like to use this simple select method to add and remove records but need to keep the table B browser in sync with table C by showing only those records which are not already linked. I have been able to use the rowValues function to create a query in cases where there is only a single key field but I can't use this with tables having multiple key fields.
Any suggestions would be greatly appreciated.
thanks,
Paul
Progress v 9.1E
Windows XP
I have a many to many relationship between table A and table B with table C being the interfile to link the two tables. I have an input screen for table A with a button to launch a window to create links to table B by creating records in table C. The child window has SDOs and browsers for both table B and table C and the foreign fields are passed from the parent window.
There are buttons to add and remove records from table C based on the currently selected row in one or the other browser. As there is a fairly limited number of records from table B which are eligible to be linked with table A I would like to use this simple select method to add and remove records but need to keep the table B browser in sync with table C by showing only those records which are not already linked. I have been able to use the rowValues function to create a query in cases where there is only a single key field but I can't use this with tables having multiple key fields.
Any suggestions would be greatly appreciated.
thanks,
Paul
Progress v 9.1E
Windows XP