<< ibec_GetUserDBConnection | IBEBlock | ibec_ibe_GetDatabaseProp >>

ibec_ibe_GetActiveDatabaseID

The ibec_ibe_GetActiveDatabaseID function returns the unique identifier of the active (currently used) database within IBExpert. If there is no active database ibec_ibe_GetActiveDatabaseID returns -1.

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_GetActiveDatabaseID : variant;

ibec_ibe_GetActiveDatabaseID returns an identifier of the active (currently used within IBExpert) database. If there is no active database it will return NULL.

Please refer to ibec_ibe_PerformAction for an example.

<< ibec_GetUserDBConnection | IBEBlock | ibec_ibe_GetDatabaseProp >>