Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clipper summer87 version

Status
Not open for further replies.

kathyc20

Programmer
Mar 7, 2001
96
CA
I'm currently making changes in a DOS based program
using Clipper Summer 87 edition.

I'm getting the following errors in my code.

open error shipment.ntx (0)
open error blch.ntx (0)
etc.

I've looked up the (0) error in the DOS error codes
and it says "No Error".

Any help would be appreciated,
 
Howdy,

I pulled my copy of S87 down from the shelf and looked up this error. On page F-2 it reads as follows:

Line parameter--The "line" parameter contains a numeric value. The value is equal to the source code line number of the statement which caused the error. Note that this line number is relative to the beginning of the source file, not the start of the function or procedure. If the source file was compiled with the -l option (line numbers disabled), this parameter will contain zero.

I take this to be like the /b option on the later versions.

Hope this helps.

Regards,
David Tracy.

P.S. If you need anything from my S87 manual I will be happy to look it up and forward.
 
dear akthyC20

check your index expresions. try them on a small program first and then in your system. it sounds like your expresion is wrong, but its hard to tell. send it to me and i will try to duplicate it and fix it.

bobby
 
I write summer 87 clipper software - the (o) means that clipper can't find the index files. Check the directory and see if the files are there if not you need to create them.
 
Hi, KathyC20

I have almost always found that when you get an open error in Clipper summer 87 which returns an invalid Dos error code it is due to a corrupted index file. It is almost never the index file that issues the error, but one which was previously opened in the program that is the culprit.

I suggest rebuilding all the index files which the program has opened up to that point. Note that the reindex command may not work if the file is corrupt, but you should re-do the INDEX ON statements to recreate the index from scratch.
Hopefully the .DBF files are OK, but it sometimes happens that bad characters in the index fields make it impossible to recreate the index successfully, and then you have to edit the .DBF and get rid of the bad data.

Brgds
Jock
 
I have seen this problem when another application has the index in use, as in a sharing violation. Are there other apps running that would open these indexes?
 
I have a problem of writing a function using summer'87. Could anyone tell me the syntax, or is there any online manual available?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top