-
Gelişmiş Filtreleme Çok Değişkenli
Bu sorgulama şeklinde şunu yapmak istiyorum. sayfada toplam 28 adet optionbuttton var. Ben rastgele bazen 2, bazen 5 bazen de 10 adet
optionbuttonu seçip SORGULA tuşuna basınca seçili verilere göre fitreleme yapsın ve sonucunu listbox a göstersin istiyorum.
Şöyle bir yol var aklımda ama çoooook uzun geldi. 28 seçenek var. İf elseif,elseif ile yapılabilir. Ama mesela sadece 28 adet kriterden 1 tanesine göre filtreleme yapmak için 28 adet elseif,
2 tanesi seçilince 3 tanesi seçilince 4-5-6 tanesi seçilince derken binlerce elseif kullanmam gerekli
gibi geldi ve bu sorunu çözemedim !
Yardımcı olur musnuz
' ÖRNEK 1: İçmesuyu deposu olan, fayansı olmayan, şebekeli, kanalizasyonu olan, asfaltı olmayan ları sorgula
' ÖRNEK 2: Suyu
Excel dosyası : https://dosya.co/ucevqtth9f2z/Program.xlsm.html
Access dosyası : https://dosya.co/4t3m5kk134s5/UF.accdb.html
Not. Programın çalışabilmesi için iki dosya da aynı klasörde olmalı !
Approved and edited to show English translation via Google Translate .....Orange
I want to do this in this interrogation. There are a total of 28 optionbutttons on the page. I randomly sometimes 2, sometimes 5 sometimes 10 pieces
I want to select optionbutton and press QUESTION key to filter according to the selected data and show the result to listbox.
I had a way of thinking about it, but it came too long. There are 28 options. If elseif can be done with elseif. But for example, if you filter only one of the 28 criteria, 28 elseif,
I need to use thousands of elseif when 2 of them are selected and 3 of them are selected 4-5-6.
and I couldn't solve this problem!
Do you help
'EXAMPLE 1: Interrogate non-asphalted ones with drinking water tanks, without tiles, with network, sewerage
EXAMPLE 2: Juice
Excel file: https://dosya.co/ucevqtth9f2z/Program.xlsm.html
Access file: https://file.co/4t3m5kk134s5/UF.accdb.html
Note. Both files must be in the same folder for the program to run!
-
Downloads make no sense. The spreadsheet is blank.
The DB contains nothing but one table with 19 columns. It's all Greek.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules