Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Structural CDX not found
Message
 
 
To
27/11/2001 10:31:05
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00586316
Message ID:
00586334
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform