Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE table without structural index
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01459949
Message ID:
01460003
Views:
51
>>>How do you ignore the first error?
>>>
>>>>You have to ignore the first error and it'll open on the second try. See also http://www.berezniker.com/content/pages/visual-foxpro/remove-structural-cdx-or-memo-flag-table
>>>>
>>
>>catch to loError
>>   if loError.ErrorNo = && our number
>>     use our table
>>   endif
>>endtry
>
>I tried almost exactly the way you put it. But on the second USE I get the error again and then structural error.

Worked for me - try to put the second use in try/catch as well.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform