set order to <FieldName> >thisform.refresh( )in the header.click The order gets set alright but the record pointer doesn’t necessarily stay on the current record when CLICKing on the various headers. Why is that and how should I address this issue?
lnCurRecNo = recno() set order to <FieldName> if lnCurRecNo <= reccount() goto lnCurRecNo endif thisform.refresh()