Hello, I need your help!
I have two tables, โemployeeโ and โinspectionโ, In the employee table there are three columns employee id, name, signature (image jpg).
How can I make the โInspectionโ form automatically bring the signature (image jpg) associated with it when choosing an employee
Thank you
You can try using
LOOKUP(Employee ID,Employee,Employee ID,Signature)
In the employee table, mark both the name and signature columns as label.
See also:
Thank you very much for your reply.
In this form I choose two employees with ENUM
To the Crew Officer with SELECT (EMPLOYEE [EMPLOYEE], TRUE) and to the crew assistant with SELECT (EMPLOYEE [EMPLOYEE],
[STAFF OFFICER] <> [_THISROW]. [STAFF ASSISTANT], TRUE)
I donโt know how to show the signatures
Then this earlier suggestion is a good one:
See also:
There is a correction in this:
LOOKUP([_thisrow].[Employee ID],Employee,Employee ID,Signature)
This works.
Thank you very much Rifad!
I canโt get it to work!
I need to bring the signature of the selected employee in the โcrew officerโ field in the โcrew official signatureโ field
You can set the column as signature and add intial value as above mentioned expression.
Rifad, when I enter the formula it gives me this error
You should change the Column type ENUM and set as REF column base type and select table EMPLEADO Table.
Then change the formula to-
LOOKUP([_THISROW].[OFFICIAL DE CUADRILLA],EMPLEADO,ID EMPLEADO,FIRMA ELECTRONICA])
This message appear
I find it difficult to understand the relationship between both tables
You should put the initial value formula
in signature column
employee table structure
What is the column type for official de cuadrilla?
For Column OFFICIAL DE CUADRILLA
Column Type: ENUM
Base type: Ref
Source Table: Empleado
Suggested values or Valid if put this expression- EMPLEADO[ID EMPLEADO]
Did you do like this for OFFICIAL DE CUADRILLA ?
Youโre GOD!!
It looks like what Iโm looking for
Thank you so very much Rifad!!!
User | Count |
---|---|
18 | |
9 | |
8 | |
5 | |
5 |