Subject | Re: [IBO] Parameter in Script? |
---|---|
Author | Paul Vinkenoog |
Post date | 2004-03-06T00:18:21Z |
Hi Don,
use text macros, e.g.
create table <<table_name>> ...
You have to process the macro in the OnMacroSubstitute event. Since
it's all done within IBO your macroed script won't work in any other
environment! I've once made an app with a heavily macro-laden create
script and it worked nicely.
Greetings,
Paul Vinkenoog
> Is it possible to use a parameter in a script?The script as such can't have parameters, but in a TIB_Script you can
>
> Can the table name of a "Create Table" statement be a parameter?
use text macros, e.g.
create table <<table_name>> ...
You have to process the macro in the OnMacroSubstitute event. Since
it's all done within IBO your macroed script won't work in any other
environment! I've once made an app with a heavily macro-laden create
script and it worked nicely.
Greetings,
Paul Vinkenoog