×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
SQL Filter in component
Vitor Micillo Junior
Yeni Üye
Posts: 3
8 yıl 4 ay önce #1415
Yazan: Vitor Micillo Junior
SQL Filter in component, Vitor Micillo Junior tarafından oluşturuldu
Hi team,
English:
What is the possibility of creating a field in the registration form of the component causing it to pull information from the sql based on information from a field above? for example: I have a State field and the other city, both have information in the database, by selecting the State field below pulls only the cities with references in that State or province
Brazilian Portuguese
Qual a possibilidade de criar um campo no formulário de cadastro do componente fazendo com que ele puxe informações do sql com base em informação de um campo acima? por exemplo: tenho um campo Estado e o outro cidade, ambos possuem informações no banco de dados, ao selecionar o estado o campo abaixo puxa apenas as cidades com referencia naquele esta
English:
What is the possibility of creating a field in the registration form of the component causing it to pull information from the sql based on information from a field above? for example: I have a State field and the other city, both have information in the database, by selecting the State field below pulls only the cities with references in that State or province
Brazilian Portuguese
Qual a possibilidade de criar um campo no formulário de cadastro do componente fazendo com que ele puxe informações do sql com base em informação de um campo acima? por exemplo: tenho um campo Estado e o outro cidade, ambos possuem informações no banco de dados, ao selecionar o estado o campo abaixo puxa apenas as cidades com referencia naquele esta
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Mekalb
Yeni Üye
Posts: 8
8 yıl 3 ay önce #1419
Yazan: Mekalb
Mekalb tarafından SQL Filter in component konusunda yanıtlandı
Hi,
How did you set up the State and City lists? I think you could set up the City field as a foreign key, and use the State as the key, then you can automatically filter the City value by State.
How did you set up the State and City lists? I think you could set up the City field as a foreign key, and use the State as the key, then you can automatically filter the City value by State.
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Vitor Micillo Junior
Yeni Üye
Posts: 3
8 yıl 3 ay önce #1420
Yazan: Vitor Micillo Junior
Vitor Micillo Junior tarafından SQL Filter in component konusunda yanıtlandı
that's exactly what I do Mekalb, on city table has a column named state_id which is the reference of another State table, when I say I mean State (region with numerous cities, like a province)
But the great doubt is when you do it all the time here in the component creator
Thanks
But the great doubt is when you do it all the time here in the component creator
Thanks
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.048 saniye