Hi folks,
I'm working on a task. I need some help.
I have one command button and 2 combo boxes. combobox1 and combobox2. I am using sql as a back end.
to display values in combo boxes i selected row source as table and wrote sql query and everything is working fine.
Now what i want is initially my combobox1 should display all records .... if user selects a value from a combobox2 drop down list then values in my combobox1 drop down has to be filtered as per combobox2 value and should display only filtered records according to combobox2 value which is selected.
how i can implement this logic????
please help me with some sample code.
Thanks,
SAM.
I'm working on a task. I need some help.
I have one command button and 2 combo boxes. combobox1 and combobox2. I am using sql as a back end.
to display values in combo boxes i selected row source as table and wrote sql query and everything is working fine.
Now what i want is initially my combobox1 should display all records .... if user selects a value from a combobox2 drop down list then values in my combobox1 drop down has to be filtered as per combobox2 value and should display only filtered records according to combobox2 value which is selected.
how i can implement this logic????
please help me with some sample code.
Thanks,
SAM.