i got this problem in choosing selection property for combobox, here is the situation I have two items in the combobox(Dog,Cat ) if a user choose either of the two it will perform an action like data input then save etc.
here is my sample code
if combobox.selecteditem <> "Dog" then if textbox.text <> string.empty then //sample SQL = "Insert ......." //sample task Msgbox(Recordsave!)//sample task endif elseif combobox.selecteditem<>"Cat" then // same task end if
both items will have different saving database according to what the user whill choose thank you hoping for a reply