A newbie to Access 2007. Trying to pass parameters to a query alternatively from two combo boxes on a form : Combo0 & combo2 which provide the id no. & student name from look up tables respectively. Two option buttons facilitate the selection between the two combo boxes so that when one combo box is enabled, the other is disabled. A command button is there on the forum to make the query run. Without closing the form, I want that whenever I select one option (of entering the id no. or the student name) the other combo box should be reset to null. Suggest steps for embedding the code in the macro builder.
Thanks