Update a record in a table using using a recorded form response

I have read a lot, but can't figure this out. If I have:

  1. One table that records a list of people and their current favorite fruit
  2. Another table that records changes in a person's favorite fruit

How can I use the form from table 2 to update records in table 1? Here are my tables:

_pete__0-1688686039500.png

_pete__1-1688686060630.png

I've got the app set up how I want it:

_pete__2-1688686175075.png

_pete__3-1688686192471.png

_pete__4-1688686597690.png

But I can't seem to make the actions and connections necessary so that:

  1. Bob's favorite fruit changes to strawberry on the Records table
  2. The UpdatesList table records a new entry (can do this part right now)
  3. The Records table shows that Bob's favorite fruit changed (yes), maybe colored with a format rule

This video got me close, but I couldn't get it to work. Can anyone explain how to do this? TIA

 

Solved Solved
0 4 182
  • UX
1 ACCEPTED SOLUTION

I appreciate the nudges. I went back and rewatched a video or two, read a bunch more documentation, and then was finally able to figure this out using the LOOKUP() and SELECT() functions/expressions. The steps for doing this, I think, are fairly complicated, so I recorded a video that should help anyone else who encounters this challenge.

https://www.youtube.com/watch?v=cyhKqcPkOIs

View solution in original post

4 REPLIES 4

Ohne Ihre Aktionen zu kennen, kann man schlecht Lรถsungen finden. Folgendes wรคre eine Lรถsung nach der Frage:

Daten: Fรผhren Sie eine Aktion fรผr eine Reihe von Zeilen aus                                                         Action 1

Aktionsname

MaรŸnahme 1

Fรผr eine Aufzeichnung dieser Tabelle

Eingabetabelle

Mach das

Daten: Fรผhren Sie eine Aktion fรผr eine Reihe von Zeilen aus

Referenzierte Tabelle

Ausgabetabelle

Referenzierte Zeilen

FILTER(

"TABELLENNAME",[Spalte]= [_THISROW]. [Spalte)

Referenzierte Aktion

Nach Eingabe der Action 2 diese Action 2 auswรคhlen!!

Verhalten

Nur wenn diese Bedingung wahr ist

Kรถnnte sein! [Statusspalte] = "Komplett" 



Wirkung: Daten: Legen Sie die Werte einiger Spalten in dieser Zeile fest                                                                          Action 2 

Aktionsname

MaรŸnahme 2

Fรผr eine Aufzeichnung dieser Tabelle

Ausgabetabelle

Mach das

Daten: Legen Sie die Werte einiger Spalten in dieser Zeile fest

Legen Sie diese Spalten fest

Zu den definierten Konstanten- oder Ausdruckswerten

Kรถnnte sein!

Erledigt?="Ja"

โ€‹

Verhalten

Nur wenn diese Bedingung wahr ist

STIMMT

 

Vergessen Sie nicht, im Editor unter Ansichten Ihrer "Eingabetabelle" das Verhalten festzulegen!!

Ereignisaktionen Zu ergreifende MaรŸnahmen, wenn Ereignisse auftreten.

Formular gespeichert

MaรŸnahme 1

 

Thanks for your help. I've tried something similar but I can't get it to work. Here's what I've tried:

For the first action:

Action nameAction1
For a record of this tableUpdatesList
Do thisData: execute an action on a set of rows
Referenced TableRecord
Referenced Rows= FILTER("Record",[Changed?]=[_THISROW].[New favorite fruit])
Referenced ActionAction2
ProminenceDo not display

Note: I'm probably having the most trouble with the Referenced Rows part. I'm just trying to change "Favorite fruit" to whatever the new favorite fruit which was selected when the UpdatesList form was filled out, and also "Changed?" to "Yes".

For the second action:

Action nameAction2
For a record of this tableRecord
Do thisData: set the values of some columns in this row
Set these columnsChanged? = "Yes"
ProminenceDo no display

In the view for UpdatesList under Behavior I have this:

Event ActionsRow Selected: Action1

Is there something obvious I'm doing wrong? I'm clearly getting something mixed up, but I can't figure out what. Thanks in advance for any further help you can provide.

Das sieht eigentlich gut aus, nur der Filterausdruck sollte so lauten: 

 

FILTER("Record",[Person] =[_THISROW].[Person who favorit])

 

Haben Sie in Ihrer Ansicht Formular  "Updates-Liste" das Verhalten festgelegt?

Ereignisaktionen Zu ergreifende MaรŸnahmen, wenn Ereignisse auftreten.

Formular gespeichert

MaรŸnahme 1

I appreciate the nudges. I went back and rewatched a video or two, read a bunch more documentation, and then was finally able to figure this out using the LOOKUP() and SELECT() functions/expressions. The steps for doing this, I think, are fairly complicated, so I recorded a video that should help anyone else who encounters this challenge.

https://www.youtube.com/watch?v=cyhKqcPkOIs

Top Labels in this Space