Home » Developer & Programmer » Forms » Host command
Host command [message #79356] Wed, 29 May 2002 22:15 Go to next message
Minette
Messages: 1
Registered: May 2002
Junior Member
I'm using the Host command to run something in DOS.
How do I know if the Host command I issued failed? Is there a Forms built-in that I can use to determine if the Host command failed?
Re: Host command [message #79357 is a reply to message #79356] Wed, 29 May 2002 23:09 Go to previous message
Remash
Messages: 52
Registered: November 2000
Member
Host( the_command, NO_SCREEN );
/*
** Check whether the command succeeded or not
*/
IF NOT Form_Success THEN
Message('FAILURE');
ELSE
Message('SUCCESS');
END IF;
Previous Topic: delete a record in DB using button in forms
Next Topic: Re: OEM Console
Goto Forum:
  


Current Time: Fri Apr 19 02:38:21 CDT 2024