Subject | Re: [IBO] update connection |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-05-18T16:48:14Z |
At 09:47 AM 18-05-02 -0700, you wrote:
should not be making a CONNECT either. It sounds as if you need to
breakpoint some of the events and see what is really going on.
necessary, then wouldn't it be necessary to test whether it is already
assigned, sthg like
..
begin
if ib_connection = nil then...
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Hi Helen,No, not if your code has already connected to the database. The script
>I have only 2 components, IBODatabase, and IB_Script on the form
>
>in the script there is only create table and insert statements.
>do I need a connect string in the script??
should not be making a CONNECT either. It sounds as if you need to
breakpoint some of the events and see what is really going on.
>the properties take care of thisDon't understand the question.
>don't they?
>I changed the code in the button to:Why do you need to assign the ib_connection at run-time? If this is
> with scUpdate do
> begin
> IB_Connection := updateServer;
> Execute;
> end;
necessary, then wouldn't it be necessary to test whether it is already
assigned, sthg like
..
begin
if ib_connection = nil then...
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com