Subject Re: [IBO] problem with the Evil BDE
Author Marc Leclerc
Hi,

> You haven't really provided enough information to understand your problem
so let's try to start somewhere...
>
> In what way does the login not work? In what way does the connection
fail?
>
I have no error messages whatsoever, hitting enter on the login just fails
after 3 attempt and exits the application (OnLoginFailure) . if no
loginprompt=false the app starts but no data is displayed, still no error,
just the emptiness of the grids and controls.

> What components are you using for connection and data access?
>
TIB_Connection, TIB_Query. TCP/IP. The app runs fine on my system so the
USER/PASSWORD are ok, it also runs fine on a system with BDE installed.

What I can't find is any references in my code that would make it require
the BDE.

> What does your connection code look like?

procedure TDM.OpenDatasets;
var
i: integer;
begin
if not IB_Connection.Connected then
IB_Connection.Connect;

for i := 0 to ComponentCount - 1 do
begin
if Components[i] is TIB_Query then
with Components[i] as TIB_Query do
if not Active then
begin
Prepare;
Open;
end;
end;
end;
>

Thanks
> Cheers,
> Helen
>
> All for Open and Open for All
> InterBase Developer Initiative ยท http://www.interbase2000.org
> _______________________________________________________
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>