>Whoops. Sorry about that. When I click on the column header I attempt to "Index on fieldname to tempidx"
It may be helpful to create all your indexes before feeding the grid your cursor. Then, just SET INDEX TO tempidx, and refresh the grid when the column header is clicked.
Imagination is more important than knowledge