Me.FilterOn = True - loses sort order

S

Stapes

Hi

I have a form that displays a load of records on asecending account
number sequence. I added a filter to enable the user to selectively
only process one group at a time. However, the sort order is lost.

I use these commands to set the filter on:

Me.Filter = "((Lookup_Combo26.TXT_Main_Abriv = '" & Combo38 & "'))"
Me.FilterOn = True

And the record source of the form:

SELECT Temp_Demoters.*, Temp_Demoters.AcNo
FROM Temp_Demoters
WHERE (((Temp_Demoters.Done)=No))
ORDER BY Temp_Demoters.AcNo;

Is ther any way I can preserve the sort order?

Stapes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top