A
AliKural
Hi everybody
My problem is about combo box filters. I have two combo
boxes one is for main category and one is for sub
category. When you choose the main ctg. from the first
combo, the second combo box shows the sub categories
belonging to that main ctg. i'm ok with that.
When i use this in subform it works for the first line.
When i go to the second line and choose a diffrent main
category, the sub category on the first line is erased, i
mean not from the table, but from the screen. I tried
refreshpage on main forms it worked, but in the subform it
didn't.
Is there a solution for that.
Thank you in advance and regards.
NOTE : Main ctg table fields(main_ctg_id;main ctg)
Sub ctg table fields(sub_ctg_id;sub_ctg;main_ctg_id
(as foreign key))
In sub ctg. combo box query, i add a criteria to
main_ctg_id as the main ctg. combo control name on that
form.
My problem is about combo box filters. I have two combo
boxes one is for main category and one is for sub
category. When you choose the main ctg. from the first
combo, the second combo box shows the sub categories
belonging to that main ctg. i'm ok with that.
When i use this in subform it works for the first line.
When i go to the second line and choose a diffrent main
category, the sub category on the first line is erased, i
mean not from the table, but from the screen. I tried
refreshpage on main forms it worked, but in the subform it
didn't.
Is there a solution for that.
Thank you in advance and regards.
NOTE : Main ctg table fields(main_ctg_id;main ctg)
Sub ctg table fields(sub_ctg_id;sub_ctg;main_ctg_id
(as foreign key))
In sub ctg. combo box query, i add a criteria to
main_ctg_id as the main ctg. combo control name on that
form.