lnRetVal = SQLExec( this.mnHandle, pcSQL ) if ( lnRetVal < 0 ) * bad SQL command public gaError[1] aerror( gaError ) MessageBox( "Bad SQL command, check gaError for more information" ) endif