Hi,
One of the applications that I developed and am responsible for maintaining has several subforms who’s sort order is controlled by an OptionGroup on the main form. The code used is as follows:
Private Sub optSortByItemNumber_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
‘ Sort produce item listing by item number.
Me.sfrMaintainProduceItem.Form.OrderBy = “ItemNumber”
End Sub
Private Sub optSortByItem_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
‘ Sort produce item listing by item description.
Me.sfrMaintainProduceItem.Form.OrderBy = “Item, ItemNumber”
End Sub
Private Sub optSortByPLUUPC_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
‘ Sort produce item listing by PLU/UPC.
Me.sfrMaintainProduceItem.Form.OrderBy = “PLU_UPC, ItemNumber”
End Sub
Recently several of the sites where this program is deployed have upgraded from Windows 95 to Windows 2000. At these sites, the users are now unable to sort the subform. No mater which option button is selected, the subform remains sorted in the default order. Those sites that are still running Windows 95 can still sort the subform.
The application consists of a .mde file and a linked .mdb data file. The data source for the subform is a linked table.
Thanks for your help,
Vernon