>Sorry; thanks for the idea, I tried it thinking that it would work, but it doesn't. When trying to "INDEX ON somefieldname", FoxPro generates the error "Command cannot be issued on a table with cursors in table buffering mode." FoxPro won't let me set up a new index directly on the view.
>
>The base table from which the view is derived contains indexes, one of which would work nicely for this, but these indexes aren't directly useable by the view (as least not that I know of.)
>
>Any other ideas?
>
>Thanks,
>Randy W.
Views are directly indexable as long as you don't set buffering from default row to table. If you want to use table buffering, temporarily switch to row buffering, index and switch back. ie:
CursorSetProp('Buffering',3,'myView')
* create your indexes
CursorSetProp('Buffering',5,'myView')
Cetin