>>>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
Mine works the other way around
as soon as you click the header it looks for a tag, and creates if not found. Faster start up and no waste of time on requery.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]