Jump to content

Recommended Posts

Posted

My CLIPPER 5.2 applicatrion has 15 DBF files and 32 INDEX files. While I run it , there is run time error DBFNTX 1001/ DOS ERROR 4 .

However, if I close some open DBFS, then no error.

Please suggest solution…

Posted

You possibly need to increase the number of file handles the DOS environment will support. In the good old days that involved setting a line

 

FILES=

 

in config.sys. How you do it these days will depend how you have come by a DOS environment.

Posted

Check to make sure that the specified file exists. If the file is not in the directory where the application runs, use SET DEFAULT or SET PATH to make the file accessible or specify the full path name where the file can be found. In a network environment, make sure the application has the necessary rights to access the file. If the file is available only for read access, use the READONLY clause on the USE command.

CA-Clipper's default error handler (Errorsys.prg) will set NETERR() to true (.T.) and will ask DBFNTX to default if the error was due to a sharing violation on the network.

See Also: DBF Repair Toolbox https://www.repairtoolbox.com/dbfrepair.html

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...