I would like to obtain the name of a user from their email (USEREMAIL())
I have a table where the users are with their emails. and I need to obtain from this table the name of the user who is using the application
I would recommend using the Lookup function. LOOKUP() | AppSheet Help Center
Something like:
LOOKUP(USEREMAIL(), "EmailTable", "Email", "Name")
Thanks for answering. Excuse my quality of English.
I followed your instruction but it throws me the following error … I send you sample
No problem! Can you share a screen shot of the column view of your “dbo.Reponsables” tables?
I don’t think this is causing your issue, but I would recommend making the column type Name rather than Ref
Have you added it as a Table within AppSheet?
If so, can I see a screenshot of the AppSheet column structure?
Creo que el error está en las comillas, eliminalas e intenta de nuevo.
“Correo” por Correo
“Responsable” por Responsable
I have tried removing the quotes from Mail and also tried removing all the quotes. the result is the same
Intenta LOOKUP(USEREMAIL(),“dbo.Responsables”,Correo,Responsable)
Una pregunta a que tabla estas haciendo referencia? Puedes mostrar la captura porfavor
Gracias por tu ayuda… Cesar. He realizado lo indicado y el problema se mantiene. No sé porqué no encuentra la columna Correo. ¿Será que el problema está en el Type (Column data type)?
Puedes mostrar la estructura la Tabla dbo.Responsables?
Oh lo siento quise decir en Appsheet
creo que esta ultima es la estructura de otra tabla, porque la tabla “dbo.Responsables” solo tiene 5 columnas, de esa me gustaria ver su estructura
Cesar… me he confundo un poco. dame un minuto para corregir unas cosas
Ahi está el error, en la columna Responsable ,debes contener un valor para que pueda hacer el lookup, elimina la formula y colocala como “text” y asegurate que en tu base de datos ese campo tenga un valor por ejemplo Ramon o Pedro, ademas no está la columna “Correo” por eso no la encuentra en la formular.
Te recomiendo “Regenerar la estructura” y hacer las correcciones anteriores.









