Subject | Re: [IBO] Problem with TIBOQuery |
---|---|
Author | Helton de Oliveira |
Post date | 2001-12-20T13:09:34Z |
It worked using the AfterPrepare event insted of BeforeOpen... But it won't
fire at the times when i want to change the parameter...
user-friendly thing like MyDb? After that, go to each of your >datasets and
select MyDb (or whatever you chose for the dbname) for the Database.
I'm setting the IB_Connection property of the TIBOQuery to my TIBODatabase
which sets the DatabaseName property automatically. Is there any problem ?
I'm sorry but i'm totally new with IBO, what is this "monitor" that you
refer ?
Helton
fire at the times when i want to change the parameter...
> Re the connection stuff - may I suggest that you enter the Server and Pathproperties and then go and >change the DatabaseName property to some
user-friendly thing like MyDb? After that, go to each of your >datasets and
select MyDb (or whatever you chose for the dbname) for the Database.
I'm setting the IB_Connection property of the TIBOQuery to my TIBODatabase
which sets the DatabaseName property automatically. Is there any problem ?
I'm sorry but i'm totally new with IBO, what is this "monitor" that you
refer ?
Helton
----- Original Message -----
From: "Helen Borrie" <helebor@...>
To: <IBObjects@yahoogroups.com>
Sent: Quinta-feira, 20 de Dezembro de 2001 10:38
Subject: Re: [IBO] Problem with TIBOQuery
> At 11:24 PM 20-12-01 +1100, I wrote:
>
> >Also, have you tried placing the parameter assignment code into the
AfterPrepare event instead of BeforeOpen?
>
> Not such a brilliant idea as AfterPrepare won't fire at the times when you
want to change the parameter (except the first time, of course!)
>
> Obviously you need to get to the bottom of this parameter problem so I
reckon your best next step is to watch the monitor with your existing code.
>
> Re the connection stuff - may I suggest that you enter the Server and Path
properties and then go and change the DatabaseName property to some
user-friendly thing like MyDb? After that, go to each of your datasets and
select MyDb (or whatever you chose for the dbname) for the Database.
>
> Helen