Dec 132017
 
Force error handling in FoxPro 2.0.
File PRO2ER.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Force error handling in FoxPro 2.0.
File Name File Size Zip Size Zip Type
CALLWHOM.DBF 492 251 deflated
CALLWHOM.DIC 2155 910 deflated
PRO2EROR.DBF 321 129 deflated
PRO2EROR.DIC 1430 613 deflated
PRO2EROR.FPT 512 13 deflated
PRO2EROR.PRG 138843 23636 deflated
TREE.DOC 10715 1942 deflated

Download File PRO2ER.ZIP Here

Contents of the TREE.DOC file


System: PRO2EROR v. 1.03
Author: Pat Adams
10/12/91 14:14:50
Tree Diagram

-------------------------------------------------------------------------------

PRO2EROR.PRG
ERORSET - Reinitalize ON ERROR statement to call PRO2EROR

NO_FILE - Inform user file is missing or can not be found

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

GO_MASTR - Return to MASTER module. May be changed to
create a return to a specifically named module

SETENVMT - Reset environmentals to previous status

SAVE_IT - Save error info in PRO2EROR database

PRO2EROR.DBF (database)

LOGVIEW - Provide user/programmer with option to
view the error log file (PRO2EROR) if
memory variable TESTING has been previously
initalized as a logical .T.

YES_NO - Get user's Yes or No response

MEMOVIEW - View info in PRO2EROR memo field

QQUIT - Quit to DOS upon unrecoverable error

KANCEL - Cancel routine which was executing
when error occurred

ERORSET - Reinitalize ON ERROR statement to call PRO2EROR

FILE_BUSY - Inform user someone else has a lock on
the file & provide option to RETRY

NICECHIM - Sound a nice 3 part chime

YES_NO - Get user's Yes or No response

GO_AGAIN - RETRY

ERORSET - Reinitalize ON ERROR statement to call PRO2EROR

TOO_HIGH - Record is out of range
Advise user & return to MASTER module

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

LOWFILES - Too many files open

CALLWHOM.DBF used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

INDEX_ER - Index problems; recreate indexes

CALLWHOM.DBF used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

SETENVMT - Reset environmentals to previous status

SAVE_IT - Save error info to PRO2EROR database

QQUIT - Quit to DOS upon unrecoverable error

NOMEMO - Missing or invalid memo file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

LOWMEMRY - Insufficient memory

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BAD_RPT - Problems with report or label form files

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BADMEMFL - Invalid .MEM file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NOSPACE - Out of disk spac

ISLAN - Differing messages depending upon whether
a LAN is active or not.

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response

TO_PRN

KORRUPT - Object file corrupted

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

REC_BUSY - Advise user someone else has a lock on record
& provide user with option to RETRY

NICECHIM - Sound a nice 3 part chime

YES_NO - Get user's Yes or No response for retry

READONLY - File has been flagged as read only

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BAD_DIF - Invalid DIF file header or Invalid DIF
vector/DBF field mismatch or Invalid DIF type indicator

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BAD_SYLK - Invalid SYLK file header or Invalid SYLK
file dimension bounds or Invalid SYLK file format

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NOTRIGHT - Not a valid RapidFile or Framework II file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BADLOTUS - Invalid Lotus 1-2-3 version X file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

INVALPRN - Invalid printer redirection; must be corrected
from DOS

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NOTREADY - Printer not ready

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response to retry printer

SQL_INTL - Internal SQL error

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

SQLTRASH - Temporary SQL file has been corrupted

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NOSQLIDX - SQL index not found

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

SQL_IDX - SQL err building temporary index

ISLAN

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response on
whether to print error information

SQLABORT - User pressed ESC during SQL operation

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response on
whether to abort or continue

BADCHAIN - OS free memory chain has been scrambled.
The only solution is to return to DOS.

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BADRIGHTS - User does not have correct or complete
LAN authorization rights

NOCREAT - Can not create file or update file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

READ_ERR - File read error

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response

RITE_ERR - File write error

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response on whether
to send error info to printer

BADCLOSE - Error closing file

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

ISLAN - Message to user varies depending upon
whether a LAN is in use or not

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response on whether to retry

REALBAD - Database is trashed

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

A_LERT - Sound loud warning siren

VERBOSE - Too many names used or stack overflow

RAZBERRY - Sound Bronx Cheer

YES_NO - Get user's Yes or No response on whether to
send error information to printer

NORUN - RUN command failed

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

PKORRUPT - Printer driver corrupted or missing

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BADEXCEL - Invalid Excel version 2.0 file format

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

BADSYMPH - Invalid Symphony version X file format

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NOACCESS - File access denied

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

NO_CDX - Structural .CDX is missing & must be recreated

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer

PROGBUG - Programming bug/syntax error

CALLWHOM.DBF (database) used to provide user with
info on appropriate person to call.

RAZBERRY - Sound Bronx Cheer


 December 13, 2017  Add comments

Leave a Reply