ibec_CloneConnection

Description

No additional description…

Syntax

  function ibec_CloneConnection(SourceConnection : variant);

Example

 execute ibeblock
 as
 begin
   FBSrc  = ibec_CreateConnection(__ctFirebird,'DBName="localhost:d:\mydb.gdb";
                                   ClientLib=fbclient.dll;
                                   user=SYSDBA; password=masterkey; names=UTF8; sqldialect=3');
 
    ClonedDB = ibec_CloneConnection(FBSrc);
 
    ibec_UseConnection(ClonedDB);

    INSERT INTO ...;
    COMMIT;
  
    ibec_CloseConnection(ClonedDB);
    ibec_CloseConnection(FBSrc);
 
   end