Thanks for your response!!
Your understanding of what I am trying to accomplish is correct. Your second paragraph, however, is where I get just a bit lost in my interpretation. When you ask if I "ended up with an attached action to the From where the barcode is scanned. And that action uses an IF() to decide which Form to navigate to. ", I assume you are referring to the View I created under Primary Navigation (launching the “Add new Filament” is set as a View initially rather than an action that shows as an icon in another view). When I click this View link at the bottom, it is set to show the “ScannedUPC” from the scan table only and when that form/view is saved, under Behavior, Event Action is set to the Action “Add UPC to Table” which runs on the new scan table. This “Add UPC to Table” action runs the exact IF statement that you wrote for the OP.
So, right now, when the form launches via the Add Filament view icon at the bottom bar, the “Enter UPC” field which is tied to the ScannedUPC column from the new label is the only one that is visible. Once a UPC is scanned or manually entered and the Save button is clicked, the full form comes up and if the UPC is not in Table 1 already, all fields are blank except the UPC code just scanned but if it does exist, the same form comes up but with all fields pre populated. This could work just fine and just make the user scroll down to change the On Hand number, but I am just trying to set it so that the pre populated form never even comes up if the row/UPC already exists in Table 1 and the app just adds 1 to On Hand behind the scenes.
As an aside, I do have an Action also set to manually increase On Hand by 1 as well as another to increase Order by 1. These are set to show in the Prominent area above an existing filament. This way, if someone doesn’t want to bother scanning, they can also go into the row/filament that shows in the main Database listing and in the Prominent area near the top, there are Edit, +1 On Hand, +1 Order, and Notes actions so a user can either just add 1 to either column , add notes to that filament, or edit it completely as there are about 10 fields for each filament. The +1 for each of On Hand and Order are simply setting a new amount to its respective column by setting the column with a ([On Hand] + 1) or ([Order] + 1) expression.
I am going to have to chew on the paragraph that states “You’ll need to change this to a Grouped action and use the Behaviors of the actions to determine which actions in the group are executed. Be aware that AppSheet has a restriction that when an action launches any view, it will be the last action executed - i.e. all other actions after it are ignored. BUT…if the Behavior prevents that action from executing, it will skip the “navigation action” and continue to the others.” If you can elaborate on this a bit it might help.
In this sentence, “I will also assume that when a scanned filament does NOT exist, you enter the Form to add it AND there is some other action that will bump up the On Hand count. That action will also be used in the Group.”, the first part is true but their is no other action in this case to bump up On Hand count since the app won’t know how many I might have gotten in. It is up to the user to complete the On Hand or Order fields manually for a new filament.
After that paragraph above, I am initially a little lost as I am not sure which form/view/action some of these refer to. I will play around with it until I get it to work based on what I think you mean above. The last two paragraphs make sense to me, no worries there.
Is there a way to “copy” the app so that I can leave it as it is currently and just play with a copy of it so that if I truly screw it up I can always delete it and go back to the original?
Thanks again ever so much. You are clearly very well versed in AppSheet!