Thanks, Larry, that works fine. Out of interest, I tried my print without the 1 second pause after I had added in the check for the error variable but the message text still does not appear in the box. Put the pause back in and it's ok again - weird!
Regards, Alastair. ----- Original Message ----- From: "Lawrence Lustig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 1:54 AM Subject: Re: Output with Check problem > > No problem, it works fine - but I could find no way to test for the result > > of choosing either [Yes] or [No] in response to the "File exists - > overwrite > > it?" question. > > Check the error variable after the OUTPUT statement. If the user specified > NO, it will contain a non-zero value (490 when I checked). > -- > Larry > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: INTRO rbase-l > ================================================ > TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: UNSUBSCRIBE rbase-l > ================================================ > TO SEARCH ARCHIVES: > http://www.mail-archive.com/rbase-l%40sonetmail.com/ ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
