Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Untrapable error?
Message
 
À
12/12/2000 12:36:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00452332
Message ID:
00452684
Vues:
24
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
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform