Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
A CDX file isn't always needed. The CDX holds the index for the table so it's not needed if there's no index on the table.There is not cdx file in the all tables
**************************************************
* FUNCTION: Opens given file after deleting its *
* structural compound index. Used for reindexing *
**************************************************
PROCEDURE open_noidx
PARAMETERS mcDBFName
PRIVATE mlError
mcCDXName = JUSTFNAME(mcDBFName) + ".CDX"
ERASE (mcCDXName)
ON ERROR mlError = .T.
* --- Attempting To Open Table Will Delete CDX Reference ---
USE (mcDBFName) IN 0
mlError = .F.
ON ERROR DO catcherr
* --- Open It Again Without Internal CDX Reference ---
USE (mcDBFName)
ON ERROR
RETURN !mlError
***********************************************
* FUNCTION: Traps error and sets flag *
***********************************************
PROCEDURE catcherr
mlError = .T.
WAIT MESSAGE() WINDOW
RETURN