G
Guest
Hello;
I created a form with a list box of clients. There are about 50 clients
within the list box and when you click on one the rest of the fields in the
form are populated with that client's information. (Name, Address........)
Above the list box I created an Option Group which allows the user to filer
between the 50 clients. (All, New, Old). Upon clicking the option the
'AferUpdate' property setting runs a new SQL Statement to populate the list
box.
What I am trying to do now is add a filter to the form. So another option
group, which will allow the user to sort (Based upon the current lists boxes
recordset) by Name, ID, or Date.
How can I retain the current record set and simply sort by that field. OR
do I need to requery the list box adding an ORDER BY ?
Any help would be much appreciated, I'm looking for the best way to go about
this.
thanks
ACase
W
I created a form with a list box of clients. There are about 50 clients
within the list box and when you click on one the rest of the fields in the
form are populated with that client's information. (Name, Address........)
Above the list box I created an Option Group which allows the user to filer
between the 50 clients. (All, New, Old). Upon clicking the option the
'AferUpdate' property setting runs a new SQL Statement to populate the list
box.
What I am trying to do now is add a filter to the form. So another option
group, which will allow the user to sort (Based upon the current lists boxes
recordset) by Name, ID, or Date.
How can I retain the current record set and simply sort by that field. OR
do I need to requery the list box adding an ORDER BY ?
Any help would be much appreciated, I'm looking for the best way to go about
this.
thanks
ACase
W