[CODE=sql]SELECT [title], [gender], [initials], [name], [surname], [birthdate], [postaladdress], [suburb], [city], [zipcode], [criminalrecord], [drivers], [maritalstatus], [dependants], [citizenship], [province], [contactref], [hometel], [cell], [jobtitle], [relocate], [emmigrate], [email], [worktel], [enddate], [startdate], [field], [education], [company], [positionheld], [jobdescription], [contactperson], [contacttel], [startdate2], [contactperson3], [jobdescription3], [positionheld3], [company3], [enddate3], [startdate3], [contacttel3], [other] FROM [cvinformation] WHERE (([race] = @race) AND ([province] = @province) AND ([education] = @education))[/CODE]
This query that i have brings back data from db according to the selection in the 3 dropdown listboxes....th is is only done if all 3 dropdown listboxes are selected.
how do i make the query work if only 1 dropdownlistbox is chosen and the other 2 are left blank????
but all dropdownlistbox es must be able to work independently and all together at once....???
This query that i have brings back data from db according to the selection in the 3 dropdown listboxes....th is is only done if all 3 dropdown listboxes are selected.
how do i make the query work if only 1 dropdownlistbox is chosen and the other 2 are left blank????
but all dropdownlistbox es must be able to work independently and all together at once....???
Comment