Hi again, that is really a good one but here i face with a problem ; i am continuing with your example ,
here in this code if i choose clown onyl it will bring which data has clown = true , artist= false and hippie = false but maybe there records are true too, i just want that code will care of which i checked not care about the others either others are true or false.
thanks
Main Topics
Browse All Topics





by: kyodaiPosted on 2009-10-15 at 07:57:58ID: 25581208
Simply do it with "where" clause.
I cant really read your form, but lets assume it only has 3 checkboxes for "Clown"(chkclown) "artist"(chkArtist) and "Hippie" (chkHippie). And your database has 3 according rows called "Clown" "artist" and "Hippie"
I would let each checkbox change the "where" clause, so end up like this (Example). There are for sure numerous other and even better way to do this, here is just one example
Select allOpen in new window