meta data for this page
ibec_ibe_EditDBObject
ibec_ibe_EditDBObject opens a specified database object for editing (starts a suitable object editor within IBExpert).
All ibec_ibe_xxx functions work only within IBExpert and will be ignored when IBEBlock is executed with IBEScript.exe or IBEScript.dll.
Description
No additional description…
Syntax
function ibec_ibe_EditDBObject(DatabaseID : variant; ObjectType : integer;
ObjectName : string; Options : variant) : variant;
DatabaseID An identifier of the registered database that should be active.
Database object type. Following ObjectTypes are available:
__dboDomain
__dboTable
__dboProcedure
ObjectType __dboGenerator
__dboTrigger
__dboView
__dboFunction
__dboException
ObjectName Name of the database object.
Options Reserved for future use.
Example
execute ibeblock
as
begin
DBID = ibec_ibe_GetActiveDatabaseID();
if (DBID is not null) then
begin
ibec_ibe_PerformAction(DBID, 'CloseAllWindows', '');
ibec_ibe_EditDBObject(DBID, __dboTable, 'TABLE1', '');
ibec_ibe_EditDBObject(DBID, __dboTable, 'TABLE2', '');
ibec_ibe_EditDBObject(DBID, __dboProcedure, 'TABLE1_UPDATE', '');
ibec_ibe_EditDBObject(DBID, __dboProcedure, 'TABLE2_UPDATE', '');
end;
end