S
smk23
I have a list box that uses a query for the rowsource. How would I change the
sort order (on click of command button):
I thought of
Dim strSQL as string
strSQL = CurrentDb.QueryDefs("pqSearchList").SQL & _
" ORDER BY NameLFMN"
And then assign strSQL as the new query def, but that get's into removing
the ";" etc. Is there a simpler way?
Thanks for your time!!
Sam
sort order (on click of command button):
I thought of
Dim strSQL as string
strSQL = CurrentDb.QueryDefs("pqSearchList").SQL & _
" ORDER BY NameLFMN"
And then assign strSQL as the new query def, but that get's into removing
the ";" etc. Is there a simpler way?
Thanks for your time!!
Sam