G
Guest
greetings to all
I have an unbound combo box called cbxRegion with a fixed list of 5 records.
The first column has width 0.
A Central
B North
C East
D South
E West
The query underlying my form is [qRegionSales] with fields RS_ID, A_reg,
B_reg, C_reg .... When I make a selection from the combo box, I want to
change the query in the following way. If, for example, B is chosen, I want
to sort by field B_reg Ascending, with all other sorts removed. If C is
selected, then sort by C_reg Ascending, again removing all other sorts. And
so on...
Could one of you readers point me in the right direction. I've tried a
number of things with no luck yet.
TQ
I have an unbound combo box called cbxRegion with a fixed list of 5 records.
The first column has width 0.
A Central
B North
C East
D South
E West
The query underlying my form is [qRegionSales] with fields RS_ID, A_reg,
B_reg, C_reg .... When I make a selection from the combo box, I want to
change the query in the following way. If, for example, B is chosen, I want
to sort by field B_reg Ascending, with all other sorts removed. If C is
selected, then sort by C_reg Ascending, again removing all other sorts. And
so on...
Could one of you readers point me in the right direction. I've tried a
number of things with no luck yet.
TQ