Subject | OnMacroSubstitute: how to use? |
---|---|
Author | Chuck Belanger |
Post date | 2001-10-10T05:44:44Z |
Hello:
I'm trying to execute a IB_script, but use a macro in the CREATE
DATABASE statement for the file/path name and the password.
I looked but could not find an example of how to properly impliment
this.
I assume that I would have something like this in the script:
create database <filename> user 'SYSDBA' password <mpassword>;
but what do I do in OnMacroSubstitute? I'm a little confused because its
listed as an event, but in the help shown as a property. There is no
example.
Is there sample code to show how to use this?
Thanks,
Chuck Belanger
I'm trying to execute a IB_script, but use a macro in the CREATE
DATABASE statement for the file/path name and the password.
I looked but could not find an example of how to properly impliment
this.
I assume that I would have something like this in the script:
create database <filename> user 'SYSDBA' password <mpassword>;
but what do I do in OnMacroSubstitute? I'm a little confused because its
listed as an event, but in the help shown as a property. There is no
example.
Is there sample code to show how to use this?
Thanks,
Chuck Belanger