In my table student.sex record is=1,2 I want to selet records using option button(3 buttion)
selectcode, sex from student where sex=thisform.option.value&& (1) selectcode, sex from student where sex=thisform.option.value&&(2)selectcode, sex from student where sex=thisform.option.value&&(1) and (2)