Bhavbhuti, you can index a view. Open it without data, index it just like you would a normal table, and then requery it. Actually, you can index it anytime. I just like to do it without data because it's quicker.
Alan
>>Unfortunately, I cannot post all the code required to make that class work because there is way too much of it.
>
>That's all right.
>
>
>>(IIF( SEEK( MyRecoursSource.MyKeyField, 'MyLookupTable', 'MyLookupIndex' ), MyLookupTable.Description, '' ) )
>>
>
>Anyways, I have the thing based on a view and the seek idea won't work as the is not allowed to be index :(.
>
>
>>Set the sparse property of the column to false.
>
>I'll keep this as last ditch
>
>
>>If you must use a combo of style=0-drop down combo in the grid, hopefully you have subscribed to FoxPro Advisor. I had an article about a combo box in a grid class that handles this problem in the Febraury 2000 issue of the magazine called "Spice up Your Grid with a Combo". Here is the abstract:
>
>Any equivalant FoxTalk article.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only