Filename of an HTM file template. Used for runtime web apps only.

Property of

_app object

Description

Use the errorHTMFile property to designate a name for the HTM file used to format an error page sent back to the browser. The filename may include an explicit path or source alias. When a path is not included, the application .exe path is assumed. The default filename for errorHTMFile is Error.HTM. dBASE Plus's error handling code will only try to use the errorHtmFile property when errorAction is set to option 1 - Send HTML Error & Quit or 3 - Send HTML Error, Log Error & Quit.

HTM file template may contain the following replaceable tokens:

 

Token

Description

%d

Date and Time of error

%e

Application EXE filename

%s

Source filename

%p

Name of procedure or function in which error occurred

%l

Source line number

%c

Location where error code is displayed

%m

Location where error message is displayed