N
naveen prasad
Hi all
I have a form with 6 combo boxes..
c1,c2,c3,c4,c5,c6. each consists of 10 items.
a sub form is added to display all the required records..
now when a item is selected from combo box, the corresponding query will get
the values on the below subform... every thing is going fine....
problem: when c2 is selected, the text in c1 should be cleared.
i mean to say, when any combo box is selected, the previous
selected combo box text should be cleared...
for this i have written a code in each combo box lost focus
private sub c1_lostfocus()
comboc1.text=""
end sub
like corresponding code in all other comboboxes.
now i have selected a item in c1, the result displayed down in subform, to
view all records i tried to move the scroll bars of subform, that time system
is considereing as lost focus action of c1 and the result is dissapearing...
need help here....
I have a form with 6 combo boxes..
c1,c2,c3,c4,c5,c6. each consists of 10 items.
a sub form is added to display all the required records..
now when a item is selected from combo box, the corresponding query will get
the values on the below subform... every thing is going fine....
problem: when c2 is selected, the text in c1 should be cleared.
i mean to say, when any combo box is selected, the previous
selected combo box text should be cleared...
for this i have written a code in each combo box lost focus
private sub c1_lostfocus()
comboc1.text=""
end sub
like corresponding code in all other comboboxes.
now i have selected a item in c1, the result displayed down in subform, to
view all records i tried to move the scroll bars of subform, that time system
is considereing as lost focus action of c1 and the result is dissapearing...
need help here....