Subject RE: [IBO]
Author Norman Dunbar
Jack,

you could check in the FormCreate (assuming Delphi) or the form constructor
(C++ Builder) and if the database file is not found, simply disable the DB
specific options etc.

Alternatively, check in the BeforeConnect event handler for the connection -
as demonstrated in the very first Sample program supplied with IBO.


HTH

Regards,
Norman

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------


-----Original Message-----
From: Jack Cane [mailto:jwcane@...]
Sent: Tuesday, October 15, 2002 2:17 PM
To: ibobjects@yahoogroups.com
Subject: [IBO]

<SNIP>
Would like to know the best way to achieve this. One approach is to check if
the .gdb exists. Where is the best place to make the check?

tks,

jwc




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.