Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IBDatabase.Connected property

81 views
Skip to first unread message

Didier Cabalé

unread,
Jun 3, 2002, 2:14:28 PM6/3/02
to
Hello,

NB: i use Delphi5 pro, InterBase Express palette and IB6.5.
i've built a little cgi testing program that involves a WebModule having a
TIBTable (with IBDatabase and IBTransaction) linked with a
TDataSetTableProducer. Nothing simplier ..
The problem is as follows:
I. from my Delphi IDE:
1. i connect the IBDatabase (IBDatabase.Connected := true)
2. i connect the IBTable to the IBDatabase and i chose a TableName for my
IBTable.
3. i active (active := true) the IBTable to be able to visually configure it
(either to add fields to the IBTable, or to preview the data in the
TDataSetTableProducer)
4. i close (active := false) the IBTable and disconnect (connected := false)
the IBDatabase
5. i open the IBTable (IBTable.Open) and IBDatabase (IBDatabase.Open) on the
OnCreate event of the WebModule; accordingly i close the IBTable and
IBDatabase on the OnDestroy event of the WebModule.
6. i compile the .dpr directly in the c:\inetpub\scripts directory
II. from the web browser
1. i launch my cgi, ie http://localhost/scripts/project1.exe
.. and no data appear in the browser.

After some tests, it is like the IBDatabase connection causes problem. Why?
Because if i *don't connect the IBDatabase at design-time before launching
the cgi* from the browser, it runs fine.
Has somebody already tested it? Is it a problem when
connecting/disconnecting at
design-time the IBDatabase? Apart from setting the IBTable and IBDatabase
properties at run-time, how to fix that?

Thank's. Didier


Didier Cabalé

unread,
Jun 4, 2002, 1:27:04 PM6/4/02
to
update your IBX components with
http://info.borland.com/devsupport/interbase/ibx_updates.html
and set IBDatabase1.AllowStreamedConnected to false.
Didier

"Didier Cabalé" <didier...@free.fr> a écrit dans le message news:
3cfbb25a_1@dnews...

Alessandro Petrelli

unread,
Jun 4, 2002, 1:47:35 PM6/4/02
to
"Didier Cabalé" <didier...@free.fr> wrote in message
news:3cfcf8f3_1@dnews...

> update your IBX components with
> http://info.borland.com/devsupport/interbase/ibx_updates.html
> and set IBDatabase1.AllowStreamedConnected to false.

It is an outdated version!

use this link to get the latest:

http://codecentral.borland.com/codecentral/ccweb.exe/author?authorid=102

--
Alessandro Petrelli.
Web: http://www.alessandropetrelli.com
eMail: aless...@alessandropetrelli.com


Didier Cabalé

unread,
Jun 4, 2002, 3:34:17 PM6/4/02
to
Grazie Alessandro!

"Alessandro Petrelli" <petr...@interfree.it> a écrit dans le message news:
3cfcfc16_1@dnews...


> "Didier Cabalé" <didier...@free.fr> wrote in message
> news:3cfcf8f3_1@dnews...
> > update your IBX components with
> > http://info.borland.com/devsupport/interbase/ibx_updates.html
> > and set IBDatabase1.AllowStreamedConnected to false.
>
> It is an outdated version!
>
> use this link to get the latest:
>
> http://codecentral.borland.com/codecentral/ccweb.exe/author?authorid=102

i saw this link before, but as there were no french version, i prefered
IBX4.52.
Thank's for that.

Didier

Jeff Overcash (TeamB)

unread,
Jun 4, 2002, 8:23:38 PM6/4/02
to

There is a French version. The french Dlls haven't needed updating since 4.6.
I have never released an update to IBX not not released a corresponding German
and French resource Dll when they need updating. There has been no required
updated since 4.6.

> Thank's for that.
>
> Didier

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
This sad little lizard told me that he was a brontosaurus on his mother's
side. I did not laugh; people who boast of ancestry often have little else
to sustain them. Humoring them costs nothing and adds to happiness in
a world in which happiness is in short supply. (RAH)

Didier Cabalé

unread,
Jun 5, 2002, 5:25:57 AM6/5/02
to
Hi Jeff,

> There is a French version. The french Dlls haven't needed updating since
4.6.
> I have never released an update to IBX not not released a corresponding
German
> and French resource Dll when they need updating. There has been no
required
> updated since 4.6.

Ok, thank's.
By the way, since i saw a new 'Interbase Admin' vcl package in my Delphi
IDE, is there any demo that show how these components work?
Thanks. Didier

Jeff Overcash (TeamB)

unread,
Jun 5, 2002, 8:49:46 AM6/5/02
to


Look on my CodeCentral page, there should be the Admin demo I wrote for D6 on
there for D5.

0 new messages