Subject Re: [firebird-tools] IBOAdmin BackupService
Author Helen Borrie
At 11:31 AM 8/12/2004 +0100, you wrote:

>Helen,
>
>H> Oh-oh, I see. The last thing I did before zipping up the stuff was to
>H> blank out the Path property of the connection...can't have done what it
>H> takes for the DFM to get updated (move out of the field in the Object
>H> Inspector?) Sorry about that.
>
>That's not the main problem. You should add code to copy the edit box value
>to the connection component when Connect is ckicked.

Why? It's already there. The Connect button calls this procedure:

procedure TForm1.ConnectToDatabase;
begin
IB_Connection1.Path := ebPath.Text; <-- the one the user can change
try
if not IB_Connection1.Connected then
IB_Connection1.Connect;
if not tr1.Started then
tr1.StartTransaction;
if not IB_Query1.Active then
IB_Query1.Open;
except
ShowMessage('Cannot connect');
Raise;
end;
end;

Helen