Hi
I have two tables, let’s say A & B
B is the child of A
My requirement is to trigger a grouped action from the Detailed View of a Form for a particular record (call it Old Record) based on Table A which will:
The challenge seems to be that the new child record takes the parent reference field value from the key of the Old Record. So, the new child is becoming the child of the old parent record. Whereas what I want is for the new child record reference field value to come from the key value of the new parent Record…so that the new child is the child of the new parent record
Can someone please point me on the right direction?
I guess you managed to do all of this and the problem you have is what you explain at the end
@Sitalia wrote:The challenge seems to be that the new child record takes the parent reference field value from the key of the Old Record. So, the new child is becoming the child of the old parent record. Whereas what I want is for the new child record reference field value to come from the key value of the new parent Record…so that the new child is the child of the new parent record
You need to share with us the expressions/actions you are using because clearly this is not done by default.
I would just make the parent record using a "Add a new row to a table using values of this row" or just "Go to another view within this app" with a link to form.
Then the table B, apart from being a child, should be configured as IsPartOf so that the add button is shown inside of the form of the table A, and your relation shouldn't be messed at all.
If you also want the new record of table B to have some values from the child of the old table A record, that could be a little bit messy, but not so much neither
User | Count |
---|---|
32 | |
31 | |
30 | |
19 | |
16 |