I have 2 toggle buttons on a vb6 form. One is 'AND' and the other one is 'OR'. I need to be able to click on 'AND' or on 'OR' and get a value from them in a code because i am doing a search of two strings in recordset(also i have 2 text boxes on a screen where i placing my search string in). So the user has to choose to place 'OR' or 'AND' between those two strings. Give me the sample code.