ScriptCase has already implemented a ready made lookup function on fields defined as type “select”. This gives a simple selection list of a text field values from a related table, but inserts the key (e.g. an integer ID) from the related table to the field from the first master table that needs validation. However, sometimes a more advanced lookup may be needed, for example a node_id from a related table that may contain hierarchical structure with several fields in it’s own right.
In such cases a simple drop down selection list is not really adequate. Rather, a full grid application with search features would be in order. One can create nested grids, but they are not bound to specific fields in the master table (AFAIK) and they are shown either below the original master table or in an extra, own field. What is needed is that the lookup grid application is run in modal mode and that a specific key or node-id can be returned and inserted in the relevant field in the master table.
Any ideas on how one could implement this is appreciated.