On 11/06/2014 03:16 PM, Dan Covill wrote:
John Sowden:   Re-formatting this msg per Tracy Pearson's suggestion:

We solved this same problem with the following code in our ErrorTrap procedure:if error() 
= 1707 or upper(message(1)) = "STRUCTURAL CDX FILE NOT FOUND."
    *-- ignore it, because our programs will build the index.
    retry                     && which will open the file
endif
When you do 'use MyDBF' it triggers the error because the CDX is missing.  This 
code ignoresthis particular error and opens the DBF without the CDX.  You can 
then test for the CDXand do your re-creation.
Dan Covill                                      

--- StripMime Report -- processed MIME parts ---
multipart/alternative
   text/plain (text body -- kept)
   text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to