Run-time creation of record in related table
By clicking a button on layout X (connected to table X), i want to create a record in a related table Y.
As far as i could find, scripts only allow to create a "New Record/Request" in the active table (=table X, as this one is connected to layout X), but not in another table that i want to define myself.
I have a, probably similar, issue to delete all the records in the found set of this related table Y.
Can anybody help?
Thanks a lot,