1 is the VFP error number for "File doesn't exist". You can specify your own error message using Error "My error message here" and this will generate a user-defined error (1098) with your message displayed.
>I am trying to use xxerror that ships with visual maxframe in order to manually display an error and close the application.
>
>I have
>
>
>on error do xxerror with error(), ;
> program(), ;
> lineno(1), ;
> sys(16)
>ERROR 1
>
>I keep getting an error saying "File doesn't exist." I dunno what file they're talking about? Does anyone know?
>
>Thanks.
>
>George
>
>See you in N.O.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao