irm-1.6-b3/MDB/mssql.php
/**
     * Get the native error code of the last error (if any) that
     * occured on the current connection.
     *
     * @access public
     *
     * @return int native FrontBase error code
     */
Get the native error code of the last error (if any) that
occured on the current connection.

@access public

@return int native FrontBase error code
Get the native error code of the last error ( if any ) that occured on the current connection . @access public @return int native FrontBase error code
function errorNative()
    {
       $res = @mssql_query('select @@ERROR as ErrorCode', $this->connection);
       if ($res) {
           $row = @mssql_fetch_row($res);
           if (is_array($row) && $row[0] > 0) {
               return $row[0];
           }
       }
       return NULL;
    }
function errorNative ( ) { $ res = @ mssql_query ( 'select @@ERROR as ErrorCode' , $ this -> connection ) ; if ( $ res ) { $ row = @ mssql_fetch_row ( $ res ) ; if ( is_array ( $ row ) && $ row [ 0 ] > 0 ) { return $ row [ 0 ] ; } } return NULL ; }
Get the native error code of the last error (if any) that
 occured on the current connection.
Get the native error code of the last error ( if any ) that occured on the current connection .