OpenDatabase

Description: Opens a database in the server currently open in the HSFWebService.

Prerequisites: CreateSession() and OpenServer().

Syntax

  • Visual Basic

    Public Sub OpenDatabase( _ 
       ByVal sessionID As String,  _ 
       ByVal database As String _ 
    )
  • C#

    public void OpenDatabase(
       string sessionID, 
       string database
    )
  • C++

    public:
     void OpenDatabase(
       String sessionID, 
       String database
    ) sealed 
  • JScript

    public  function OpenDatabase(
       sessionID : String, 
       database : String
    )

Parameters

Table 10. OpenDatabase Parameters

ParameterData TypeDescription
sessionIDstringA session identifier
databasestringA database name

Returns

  • void

    Success

  • Error message

    Failure

Example

See IncomeStatement.aspx.