>>Hello community,
>>
>> [...]
>>
>>someone could give me the reason for that error.
>
>Is it possible that N is sometimes greater than the number of index tags on your cursor? I tried to
>
set order to 5
>on a table with 3 tags and got the same error.
>
>Hello Dragan
>
> [...]
>my Cursor have fields type char,boolean,memo and numeric, i don´t know if some of theses fields type are supported ?
>
Luís, I would say that Dragan pointed you into the right direction.
Assuming that your grid holds the fields of your cursor in their natural order, you must create indexes for all of the first 11 fields, regardless of their type, otherwise the code you're using will not work at all.
----------------------------------
António Tavares Lopes