Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting a continous form on the fly

Status
Not open for further replies.
Jun 10, 2011
17
US
I have a sub-form with 5 fields named A-E
I have a combo box on the form named cmbSortBy with options for A-E
Currently trying to use a case select for restablishing the sort order on afterupdate
Select Case Me.cmbSortBy
Case "A"
Me.OrderBy = "A"
Me.OrderBy = True
Me.Requery
etc...

This issue is getting the form to re-draw after update. Ideas?
 
Is this a typo
Me.OrderBy = True

if not
Me.OrderByOn = True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top