Abfrage und Ergebnis in ein fxFeld
Hallo allesamt,
ich habe gerade einen totalen Knoten und komme nicht mehr weiter, würde mich freuen wenn mir geholfen werden könnte.
Ich habe eine Tabelle "Mitarbeiter" in diesem ist das Textfeld "Mitarbeiter" und "Standort", in der zweite Tabelle habe ich eine Jahresauswertung wo auch der "Name" als Textfeld steht, aber das Textfeld "Standort" leer ist. Dieses möchte ich über eine Abfrage aus Mitarbeiter > Standort befallen lassen, wenn Name des Mitarbeiters übereinstimmt.
- Tabelle 1 "Mitarbeiter "
- Textfeld "Name" (des Mitarbeiters)
- Textfeld "Standort"
- Tabelle 2 "Jahresauswertung"
- Textfeld "Name" (des Mitarbeiters)
- fx Feld "Standort" (hier soll Standort als Ergebnis von Tabelle 1 gefüllt werden)
Würde mich freuen, wenn jemand mir kurz auf die Sprünge helfen könnte. Danke
3 Antworten
-
Why not make a reference field in Table2 to Employee? Then just display the Employee name. You can name the reference field Name.
Then you can create a fx field with the following code
Name.Location
-
hello fred,
thank you for your reply.
Table 2 is filled weekly with data from another program export (CSV), this program can only give me the name of the employee but not the location he is working. Therefore I wanted to have it filled from table 1 into table 2.So I tried this command, but it shows me all entries instead of the correct ones.
Name of the employee = Location
- Table 2 - fxfield
- let my := this;
- (select Mitarbeiter where Autor = Autor).Standort
- Table 2 - fxfield
-
Wenn du in einem select ein Suchargument benutzen willst, musst du es vorher in einer Variablen deklarieren und diese dann im select verwenden.
let vSuche := Wert/Feldname?;
(select Mitarbeiter where Autor = vSuche).Standort
Content aside
- vor 1 StundeZuletzt aktiv
- 3Antworten
- 39Ansichten
-
3
Folge bereits