Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!rutgers!sunybcs!ugcharle From: ugcharle@cs.Buffalo.EDU (Charles Johnson) Newsgroups: comp.databases Subject: dbase error level programmining Keywords: Dbase, error programming Message-ID: <7915@cs.Buffalo.EDU> Date: 13 Jul 89 17:08:05 GMT Reply-To: ugcharle@sunybcs.UUCP (Charles Johnson) Followup-To: comp.databases Distribution: na Organization: SUNY/Buffalo Computer Science Lines: 27 I'm doing modifications to someone elses program and it has the following section of code that was causing it to "abend" :============================================: DO CASE CASE ERROR() = 5 @xx,yy Say "record num > # of records" on error close database OTHERWISE @xx,yy SAY "error has occured" err_msg = message() @xx,yy SAY "error was"+err_msg close database index on error RETURN TO MASTER :+++++++++++++++++++++++++++++++++++++++++++: I understand what it is trying to do but I can't find anything about the message function or the error value. I'm not sure if they are coming from DOS or something within DBASE. Any help, ideas, suggestions or pointers to information would be greatly appreciated thanks in advance