I have a layer with a relate table (1-M) with three columns (fk_id, date, comment).
I have also created a custom form for the layer and table.
What I need is when I add a new record to the related table, the default comment must be the same as the last date for that
So, in this example, if I create a new record in the related table using the form, the comment should be
I'm looking around the expression builder but I have no idea how to do this selection.
Anyone could give me a tip of how can I set this default?