>Help...
>
>Is there anyway to identify the FORM (eg, NAME) when error trapping?
>
>I currently trap the usual (ERROR(), MESSAGE(), PROGRAM(), LINENO()), but if the error is in the INIT PROCEDURE of a FORM
>all I see for PROGRAM() is "FORM.INIT" so I don;t know which form produced the error.
>
>Harry Riley
Try using
if type('_screen.ActiveForm.Name')
_screen.ActiveForm.Name
endif
and also check windows functions (ones that start with w).
If it's not broken, fix it until it is.
My Blog