Hi,"
I have a form called "frm_detail "
On the form i have two combobaxes called
cbo_soort
cbo_fase
cbo_soort has de items (i use dots to seperate the items, cannot put a table in place)
ID_soort.....So ort_traject
1.............. ...nieuw
2.............. ...verlenging
3.............. ...uitbreiding
4.............. ...anders
cbo_fase is based on a Query called "Q_fase" which has the items;
ID_fase.....Fas e.......Soort_t raject
1.............. ..fase 1.....N
2.............. ..fase 1a....V
3.............. ..fase 1b....B
4.............. ..fase 2.....B
5.............. ..fase 3.....B
Question: I would like to be able to do the following;
If cbo_soort = "2" then i would like the list in cbo_fase to only show the items where Soort_traject is V or B (so N should be discarded)
If cbo_soort = <> "2" then i would like the list in cbo_fase to only show the items where Soort_traject is "N" or "B"
I am trying to find a solution for the "criteria" part in the Q_fase qury on the field "Soort_traj ect" but i can't figure out how to do this...
Any help would really be appreciated.
Thanks,
Pierkes
I have a form called "frm_detail "
On the form i have two combobaxes called
cbo_soort
cbo_fase
cbo_soort has de items (i use dots to seperate the items, cannot put a table in place)
ID_soort.....So ort_traject
1.............. ...nieuw
2.............. ...verlenging
3.............. ...uitbreiding
4.............. ...anders
cbo_fase is based on a Query called "Q_fase" which has the items;
ID_fase.....Fas e.......Soort_t raject
1.............. ..fase 1.....N
2.............. ..fase 1a....V
3.............. ..fase 1b....B
4.............. ..fase 2.....B
5.............. ..fase 3.....B
Question: I would like to be able to do the following;
If cbo_soort = "2" then i would like the list in cbo_fase to only show the items where Soort_traject is V or B (so N should be discarded)
If cbo_soort = <> "2" then i would like the list in cbo_fase to only show the items where Soort_traject is "N" or "B"
I am trying to find a solution for the "criteria" part in the Q_fase qury on the field "Soort_traj ect" but i can't figure out how to do this...
Any help would really be appreciated.
Thanks,
Pierkes
Comment