ibec_ibe_SetDatabaseProp

The ibec_ibe_SetDatabaseProp function sets the value of specifed database property.

All ibec_ibe_xxx functions work only within IBExpert and will be ignored when IBEBlock is executed with IBEScript.exe or IBEScript.dll.

Syntax

    function ibec_ibe_SetDatabaseProp(DatabaseID : integer; PropertyName : string) : variant;  

Following properties are available:

ALIASAlias of the registered database.
CLIENTLIBName of the client library file specified in the Database Registration Info.
SERVERNAME or HOSTNAMEServer name.
FILENAME or DBNAMEDatabase file name.
PASSWORDPassword specified in the database regstration info.
USERNAME or USER_NAME or USERUser name.
ROLENAME or ROLE_NAME or ROLERole name.
NAMES or LC_CTYPE or CHARSETConnection charset.
CONNECTIONSTRING or CONNECTION_STRINGConnection string.
ACTIVE or CONNECTEDReturns TRUE if the database is active and FALSE if it is not.

back to top of page
<< ibec_ibe_GetObjectEditorProp | IBEBlock | ibec_ibe_PerformAction >>