Dorin, this looks strange, usually I permit user to make order to any avaliable
index
To do this in the header click
I write
select (this.parent.parent.recordsource)
set order to (this.parent.controlsource)
go top
this.parent.parent.refresh
and order is changed in the grid
Are you sure, your index work?
do brow somewhere in the form code ( in init)
and make sure , you have table ordered
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.