>>I don' t know, but that is what I do
>>(1) I only index a view once - before the first requery()
>>(2) I use the index command as I wrote
>
>I run into that as used a grid where a kind of dynamic sorting was possible, there was a need to create index on the fly, and to many possibilities to create them all on USE.
>
>:)
Oh well,
I have a function that indexes a view/cursor on every field possible - never needed an index 'on the fly'
The grid column detects that there is an index on its controlsource and then makes that column sortable. Clicking on the header sorts ascending/descending
Gregory