scripting@wanadoo.nl




DBConnClose()

http://www.scriptlogic.com/kixtart/FunctionLibrary_FunctionList.aspx


actual FunctionLibrary list on 'Scriptlogic' site printer-friendly mirror of UDF topic on 'scripting@wanadoo.nl' site close
13 May 2002 DBConnClose()
AuthorJens Meyer (sealeopard@usa.net)
Action Closes a connection to a database that has previously been opened with DBConnOpen().
SyntaxDBConnClose (connection) 
Parameters
  • connection (Required / String) open connection object to a data source 
  • RemarksKIXTART BBS http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=12;t=000195 
    Returns0 if successful, otherwise error code 
    DependenciesNone. 
    Examples
    $retcode = DBConnClose($objConn)
    
     
    Source
    FUNCTION DBConnClose ($objconn)
      DIM $adstateopen
    
      $adstateopen = 1
    
      IF VarType($objconn) = 9
        IF $objconn.state = $adstateopen
          $objconn.close()
          IF @error
            EXIT @error
          ENDIF
        ENDIF
        $objconn=''
      ELSE
        EXIT 87
      ENDIF
    
      $dbconnclose=@error
    ENDFUNCTION ; - DBConnClose -
     
      original source of UDF topic. show actual FunctionLibrary list on Scriptlogic site close top
              printer-friendly mirror of UDF topic on scripting@wanadoo.nl site  




    Copyright © 2003 www.scriptlogic.com & scripting@wanadoo.nl - last updated on 20 May 2003


    Site Meter