Buenas noches, necesito completar un formulario trayendo datos desde una tabla de "contactos", paso a explicar:
- Tengo una tabla de contactos con las columnas "ID CONTACTO" "NOMBRE" "CUIT" "PATENTE"
- Tengo una tabla de listados con los datos "ID LISTADO" "CUIT1" "CUIT 2" "CUIT 3" "CUIT 4" "Nombre 1" "Nombre 2" "Nombre 3" "Nombre 4"
Lo que necesito es que al ingresar manualmente los 4 CUIT en la segunda tabla, busque los 4 nombres en la tabla de "contactos", y se guarden todos los datos en el mismo formulario (o sea, que la tabla 2 contenga los 4 cuits con los 4 nombres).
Desde ya muchas gracias a quienes puedan ayudarme
Maxi
Solved! Go to Solution.
In this scenario, what you typically want to do is to create 4 fields in table 2 (say [contact ID 1] ... [ Contact ID 4]) each of which references the contacts table.
Then the CUIT and Name can be automatically retrieved by setting the following in AppFormula
If [name] in contacts is set to Label of the contacts, then the {contact ID 1..4] display the names and you may not need separate [name 1...4] columns. It all depends how you want to store data in your background data store (vs. how you want information displayed in your App).
In this scenario, what you typically want to do is to create 4 fields in table 2 (say [contact ID 1] ... [ Contact ID 4]) each of which references the contacts table.
Then the CUIT and Name can be automatically retrieved by setting the following in AppFormula
If [name] in contacts is set to Label of the contacts, then the {contact ID 1..4] display the names and you may not need separate [name 1...4] columns. It all depends how you want to store data in your background data store (vs. how you want information displayed in your App).
User | Count |
---|---|
44 | |
31 | |
29 | |
14 | |
14 |