Subject RE: [IBO] TIB_Script macros
Author Don Schoeman
Jason, please clear up some of the definitions that you gave me in your
previous email:

When you talk about a "statement", do you specifically refer to TIB_Script
or do you refer to any component that can run an SQL statement. When you
talk about a "connection", do you specifically refer to TIB_Connection?

Quoting your previous email:
"No, that isn't how I want it to behave."

Are you saying that what I intend to do is completely incorrect or that I'm
on the right track but that the changes should behave differently to what
I'm thinking.

I'm already using the changes I have made and it works great, I'd just like
to wrap it up and give it to you also. If you are currently to busy to help
me, are there any other IBO guru's I can plague with stupid questions like
the ones above?

-Don






-----Original Message-----
From: Jason Wharton [mailto:jwharton@...]
Sent: 20 July 2001 06:52
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] TIB_Script macros


No, that isn't how I want it to behave.
What I want is for the statement to default to blanks and the connection to
default to the desired macro chars. Then, when the statement operates it
will resolve to use its own macro values if they are there. If its values
are blank then it will make use of those at the connection level. If the
connection reference does not exist then there will already be an exception
because you cannot prepare without a connection reference.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Don Schoeman" <ds@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, July 20, 2001 5:39 AM
Subject: RE: [IBO] TIB_Script macros


> Hi Jason,
>
> Sorry for me being so irritating, but I'd rather ask many questions and
know
> I'm on the right track than having you or me have to redo stuff later.
>
> 1) To make sure we are thinking along the same lines, I assume that you
want
> me to add the MacroBegin and MacroEnd properties to the TIB_Connection
> component (or one of it's base classes). Then when you connect a
TIB_Script
> component to the TIB_Connection, it must set it's own MacroBegin and
> MacroEnd properties equal to that of the TIB_Connection.
>
> 2) If the above statement is what you want, do you want me to add another
> boolean property to TIB_Script like "ParentMacro" which tell's the control
> to always use the TIB_Connection's macro properties.
>
> 3) If the above statement is also true, the TIB_Connection component will
> have to send a windows message which all the TIB_Script components will
have
> to catch in order to update their own properties.
>
>
> Thanks for all your patience.
>
> -Don
>