Add a new row to another table AND open form to edit?

HI everyone, I was wondering if itยดs possible to use an action to โ€œadd a new to row to another table using values from this rowโ€, and somehow opening a form to edit that โ€œnew rowโ€ in the child table, all in one action.

Solved Solved
1 12 3,434
1 ACCEPTED SOLUTION

In principal same trick will solve.

View solution in original post

12 REPLIES 12

Steve
Platinum 4
Platinum 4

Youโ€™d need three actions:

  1. Create the row.

  2. Navigate to that new row.

  3. A grouped action to perform (1) and (2).

Iโ€™ve been struggling to find a way to do this for a couple of days and would also really appreciate a detailed answer. It seems like a scenario that will crop up frequently.

Kindly provide with an expressions example so as to perform the 3 steps mentioned above

In principal same trick will solve.

In my case โ€œLINKTOROW(maxrow(โ€œyourtargettablenameโ€,โ€_RowNumber"), โ€œformviewnameofthetargettableโ€)" is openning a white screen

Please post a screenshot of Expression Assistant showing the complete expression.

The expression looks good.

Please post a screenshot of the configuration for the formvieworders view.

You can also just create 1 action:
APP Go to another view in this app.
For a record of: โ€œThe original tableโ€
LINKTOFORM(โ€œTarget formโ€,
โ€œOriginal row1โ€, โ€œTarget row1โ€,
โ€œOriginal row2โ€, โ€œTarget row2โ€,
โ€œOriginal row3โ€, โ€œTarget row3โ€)

But this way you end up in i form with what ever new data youโ€™d like, and would have to save it before changes take place.

Hey Kristofer, Yes! Thatโ€™s the way to do it, many thanks.

Note to developers: maybe this link should be included as the โ€œApp linkโ€ in the Behaviour section of the
form description to give a hint. The current suggestion seems not as helpful.

Regards, Tim.

Found this thread as I have the same requirement.
I agree that this would be easier to be an available action in the behavior page.
โ€œOpen a form to add a new row to another tableโ€

Submited this as a feature request

Top Labels in this Space