ANY(SELECT

Good morning friends,

I have this table, "PEDIDOS", with these fields:

Y esta tabla relacionadaTABLA_PEDIDOS_01.jpg

The ARTICLE_ID field of the ORDERS Table is a ref to the ARTICLES Table and in the INITIAL VALUE section it has this expression:

ANY(SELECT (ARTICULOS[ID_ARTICULO],[ID_PROVEEDOR]=[ID_PROVEEDOR].[ID_PROVEEDOR],FALSE))

And this related table, ARTICLES:

TABLA_ARTICULOS_02.jpg

I need that when a SUPPLIER_ID is chosen, only the ARTICLES related to that SUPPLIER are filtered and displayed.

TABLA_PEDIDOS_03.jpg

Now it does not work correctly for me, since the list appears complete, without selecting ITEMS by SUPPLIERS

TABLA_PEDIDOS_04.jpg

Thank you for your time, best regards

0 1 58
1 REPLY 1

Hola, 

el contenido de la pregunta contiene puntos que llevan a la confusiรณn, por ejemplo;

"I have this table, "PEDIDOS", with these fields:
Y esta tabla relacionada"

Para vincular datos en un desplegable de una tabla que contiene varias referencias dependientes puedes hacer uso de "Valid_if". Prueba con;

Articles([ID_PROVEEDOR])

Toda la informaciรณn en;
Appsheet support - dependent dropdowns (Valid_if)
https://support.google.com/appsheet/answer/10106620

Plantilla ejemplo
https://www.appsheet.com/templates/An-app-to-add-and-update-sales-leads

Top Labels in this Space