Sorin,
The problem is in your original index. If you use
index on f1 tag f1
you won't have any problem. With your syntax the CTEST cursor is included in the index. Since it's been closed you can't load the new table with the index referring to the cursor.
HTH
Barbara
>I have to open some tables created by another application. Unfortunately whoever created them embeded the alias in the index expression (the table has a "unique" name). So when you try to open the table, an error will pop up "Alias 'blah' not found". It's a dialog box with "OK" and help buttons. My problem is that I can't seem to trap this error (since I don't want that message to pop on the screen).
>
>To reproduce the problem :
>
>Create cursor ctest (f1 c(10))
>Index on ctest->f1 tag f1
>copy to c:\blah cdx
>use in ctest
>use c:\blah
>
>Thank's
>
>Sorin