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:
01460008
Views:
56
lcTableName = "Test"

CREATE TABLE Test (PK I)
INDEX ON PK TAG PK
USE 
ERASE (FORCEEXT(lcTableName, "CDX"))

TRY
	USE (lcTableName )
CATCH TO oExp WHEN oEXP.ErrorNo = 1707
	? "Error No CDX"
ENDTRY

IF NOT USED(lcTableName)
	USE (lcTableName)
ENDIF	
	
>I did. In the CATCH on error 1567 I tried to USE table again but got the same error.
>
>>TRY...ENDTRY
>>
>>>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
>>>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform