I would like to condition the dependent combobox so that it shows certain data of the database and not all of the selected table [closed]

-1
asked by Joseph Nca 20.02.2018 в 19:00
source

1 answer

0

Hi, I'll give you a companion example, I try to obtain from the table of clients only those that are as active in my database and that are for example the CDMX.

SELECT * FROM tb_clientes WHERE cliente_status = 1 AND residencia_cliente = 'CDMX';

With the above and your combobox will not be filled with all the info. of your table if not only with what is relevant for you to show in the user's view.

Greetings

    
answered by 21.02.2018 / 01:54
source