OpenDatabaseRequester()

语法

Result = OpenDatabaseRequester(#Database [, Plugin])
概要
Open the standard ODBC requester to choose which database to open.

参数

#Database A number to identify the new database. #PB_Any can be used to auto-generate this number.
Plugin (optional) Specifies the database plug-in to use. It can be one of the following value:
  #PB_Database_ODBC      : The database will use ODBC backend (UseODBCDatabase() has to be called).
If 'Plugin' isn't specified, then the first registered database plug-in will be used.

返回值

Returns nonzero if the database connection was established successfully and zero if not. Error information can be received with the DatabaseError() command. If #PB_Any was used for the #Database parameter, then the generated number is returned.

Remarks

This is an ODBC database specific command.

Note: This command is not supported on Linux and MacOS X and will return 0.

参阅

OpenDatabase(), CloseDatabase()

已支持操作系统

所有

<- OpenDatabase() - Database Index - PreviousDatabaseRow() ->