Hallo,
I have an Access 97 application where the form “SF_PosData” is a subform in another form (“MF_Orders”).
Users should be able to sort the subform data with the respective buttons on the icon bar.
But I want all such sorts to be removed, when the form / subform is unloaded. I thought, the OrderBy property of the “SF_PosData” form would be the right place to achieve this.
I tried the following Code for the form “SF_Pos_Data”, but it does not seem to do the job
Private Sub Form_Unload(Cancel As Integer)
Me.OrderBy = “”
End Sub
Any ideas??
Thanks a lot
Doris