I am running FPD 2.6. From within my error routine I would like
to invoke a DIFFERENT error routine to trap errors that the first
routine generates. It doesn't seem to work.
In initialization of system:
on error do errorhandler1
do errorhandler2 with appropriate context data
main part of errorhandler1
return as appropriate
handle the errorhandler1 error
Take care that errorstatus is incremented and decremented
C Pronunciation Guide:
y=x++; "wye equals ex plus plus semicolon"
x=x++; "ex equals ex doublecross semicolon"
I've got a single global error-handling routine. However, I'd like to
include a command in it that might generate an error. Elsewhere, the
ON ERROR * && Do nothing
loWord.Visible=.T. && This will fail if loWord doesn't exist or
the link to MSWord is no longer current
ON ERROR &lcOldOnError
However, within my main ON ERROR routine, the command generates a
standard VFP error.
How can I get round this?