OpenDatabaseRequester()

Syntax

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

Parameters

#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.

Return value

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.

See Also

OpenDatabase(), CloseDatabase()

Supported OS

All

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