M
Martin \(Martin Lee\)
The following VBA is workable:
If TypeOf Screen.PreviousControl Is TextBox Or ComboBox Then
Me.OrderBy = Screen.PreviousControl.ControlSource
Me.OrderByOn = True
Endif
MY QUESTION IS:
I want to make the ORDER BY arranged by DESC, HOW should the VBA ?
( Normally, me.orderby="...... desc" can work. However the upper sentence
without " " , so, I don't know how to do with the desc)
Martin Lee
If TypeOf Screen.PreviousControl Is TextBox Or ComboBox Then
Me.OrderBy = Screen.PreviousControl.ControlSource
Me.OrderByOn = True
Endif
MY QUESTION IS:
I want to make the ORDER BY arranged by DESC, HOW should the VBA ?
( Normally, me.orderby="...... desc" can work. However the upper sentence
without " " , so, I don't know how to do with the desc)
Martin Lee