FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 Connection.BrowseConnection
ホーム • Customization Tools • FCAS • Language Reference • Connection.BrowseConnection
 
Purpose
Calls against an ODBC driver or data source to determine which arguments are required to connect.
Information is returned in the connection's ConnectionString property, and is useful when connecting to an ODBC database for the first time. This same information states what data is required to establish a connection. The normal connection method used in FCAS is OpenConnection, which takes the three arguments for normal data sources.
Syntax
DBConnection.BrowseConnection (String)


String
Most ODBC data sources have a maximum of three arguments for String (DSN, UserID, and Password). Oracle and other enterprise databases may require a minimum of four arguments for String (DSN, UserID, Password, and ConnectionString).

Example
Dim cnct as DBConnection
cnct.BrowseConnection ("DSN=ORACLE") 'Oracle data source
Print cnct.ConnectionString
UID:Login=?,PWD:Password=?;ConnectString: Connection String=?;
'string returned from the driver indicating which parameters are required
REM
'the format of the string returned from the driver indicating which parameters are required is (KEYWORD:DESCRIPTION=VALUE)

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<