Subject | RE: [IBO] Creating duplicate database through scripts |
---|---|
Author | Jason Wharton |
Post date | 2006-12-11T19:48:21Z |
Lee wrote:
It's on the TIB_UtilityBar control that is on the connection tab.
You can also write your own little program and just use the TIB_Script
component yourself (connected to a TIB_Connection and TIB_Transation
component) to load the script and execute it.
Your script can contain a CREATE DATABASE statement in it or you can create
your own database manually in some other way.
HTH,
Jason Wharton
> I have managed to extract the metadata of a database,Use the IB_SQL tool and put the script in the dialog for running scripts.
> but I am trying to figure out how to run it using IBO.
> I think I'm a little confused about how the connection
> works when creating a database.
It's on the TIB_UtilityBar control that is on the connection tab.
You can also write your own little program and just use the TIB_Script
component yourself (connected to a TIB_Connection and TIB_Transation
component) to load the script and execute it.
Your script can contain a CREATE DATABASE statement in it or you can create
your own database manually in some other way.
HTH,
Jason Wharton