CDX not found in my foxpro database

Asked By 0 points N/A Posted on -
qa-featured

I am studying Visual FoxPro using a backup copy of a finished system. I explored on the system and I got an error message, so I checked its database. When I opened one of the database file, it pops up a message saying, "Structural CDX not found".

What are the best steps to follow in order to fix this error?
 
 
Microsoft Visual FoxPro
 
Structural CDX file not found
SHARE
Answered By 0 points N/A #127108

CDX not found in my foxpro database

qa-featured

Dear Micheal,

The snapshot you attach to the question is not showing any error message. It is just displaying the title bar and menu bar of Visual FoxPro. Anyhow, I am giving you the methods to remove the error. Use one of the following three methods to remove the reference from the CDX file and allow FoxPro to open DBF file.

When error occurs, choose the, Ignore button instead of Cancel Button. Foxpro removes the reference to the structural .CDX file from the .DBF file header and displays a message to indicate that the reference was removed. Firefox opens the DB File after removing the reference.

Use Set Safety Set off. It suppresses the error message.

Use an, On Error statement to trap the structural .CDX file error. I am sending you the code in a snapshot, that can automatically remove the reference without displaying any error message. Firefox does not open file after ON ERROR statement removes the statement. You must issue the USE Command to open the information in .DB file.

Related Questions