With Auto-Reopen set to ON, when the form reopens the most important field [JobID] is blank, how can I set Auto-Reopen to retain the [JobID so it doesnโt need to be re populated manually?
Cheers
How are you opening the initial Form? Are you using an action to navigate to it or are you using a Child inline table and tapping the Add button?
For a new record I use the default system Add, the user enteres the JobID as the first record. The user then uses the default Save which then the form re-opens and JobID is then blank.
Instead of auto-reopen, use a LINKTOFORM Action on Form Save.
Hi John
I have an Action called โAdd Itemโ with the following:
LINKTOFORM(โTicksheet_Formโ, โRefโ, [JobID],โJobIDโ,[JobID])
And on the Form:
And when I save that record:
Still not populated unless I save the record and โฆ then โฆ use the Action which is displayed prominently.
What is โRefโ? Try it this way instead:
LINKTOFORM(โTicksheet_Formโ, โJobIDโ, [_THISROW].[JobID] )
Also, I did setup a test of a Parent/Child, and set the Child Form to Auo-Reopen. It works as expected reopening Child Forms and automatically populating the Parent ID.
Still the same result John.
Just to add this isnโt a child form. Everything is on the same form and it is one table.
Understood. I just wanted to highlight it in case it was a possibility.
I have tested with a Form, table and action. Here is what I found:
If I simply turn on โAuto-Reopenโ and then open a Form using the system Add, it will re-open the Form but will not carry the data values forward to next opening. I think this is as expected.
If apply @Marc_Dillon s approach - create an action with LINKTOFORM() and then attach to Form Save with Auto-Reopen off - The Form does re-open AND values are re-assigned upon opening. See images.
Action
LINKTOFORM("Category Options_Form", "Category", [Category])
NOTE: I did not need the [_THISROW] specifier.
Initial View - Note no Category K rows
Click Add button to get empty Form
Add Details
Click Save - Form relaunches with Category pre-filled
Back to Table view after adding a couple of Option rows for Category K
LINKTOFORM(โTicksheet_Formโ, โJobIDโ, [JobID])
This seems to do the trick John.
Thanks for your assistance.
LOL! I just edited the post and added a NOTE that I did not need to use the [_THISROW]. AppSheet is a little finicky about when itโs needed and when its not.
We got there in the end John
Hi, I made something similar. It works but I would like to land in the "Option" field after having saved, I'm using auto-save and I want to scan multiple barcodes ("Option") in the same bin ("Category"). Any idea how I can do this?
Already tried to invert the order but auto-save doesn't work even if they are both filled.
User | Count |
---|---|
33 | |
31 | |
30 | |
19 | |
17 |