Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Structural CDX not found
Message
 
 
À
27/11/2001 10:31:05
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00586316
Message ID:
00586334
Vues:
13
>Nadya first you cant prevent if the cdx file doesn't exist what you can do is trap the error and do something e.g. go to the next loop or cancel the whole loop that is up to you.

I think, I have to change my code and open these tables explicitly. I also need custom error handler for this specific problem. That's very inconvenient, because I already have Error Handler for this application, which is upper level. So, how can I trap for specific error 1707 in this program directly, but use my other application specific Error Handler, if it's not 1707 error?

Thanks in advance.
>
>>>Nadya your SELECT will open the tables if they are not already open so when you get that error the table that the SELECT is open don't have the CDX file associated to them.
>>>
>>
>>Hi Alexandre,
>>
>>Yes, I understand that :) My question is: how can I prevent this error? What should I do?
>>
>>>>Hi everybody,
>>>>
>>>>I select multiple files using Common Dialog Control. Then I do a loop and select from each file to cursor. Once in a while I get a message "Structural CDX is not found" and the program stops. I do not open files explicitly, though SELECT statement does it. What can I do to prevent this error?
>>>>
>>>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform