2 criterios de búsqueda para el mismo dato

Buenas noches, quisiera saber cómo traer datos desde otra tabla haciendo una referencia, pero dicha referencia puede ser hecha por más de un criterio, vamos al ejemplo:
- Tengo una tabla de clientes: ID CLIENTE, NOMBRE, EDAD, DIRECCIÓN

- Tengo otra tabla de ventas: ID VENTA, FECHA, CLIENTE, ARTÍCULO

Cuando completo la tabla de VENTAS, quisiera buscar al cliente (referenciado) por cualquiera de sus datos, ya sea nombre, edad o dirección, y no sólo que me muestre un dato en la lista.

 

Muchas gracias de antemano!

 

Maxi

0 1 43
1 REPLY 1

Create a vc with the following expression and make it Label of the CUSTOMERS table

  • [NAME] & ": " & [AGE] & ": " & [ADDRESS]

Then on the dropdown list of CUTOMER in the SALES table, your user can search on any of the items concatenated.

This will not give you separate columns to search on but should work more or less.

Try and see if it is acceptable.

Top Labels in this Space