Subject | Re: [IBO] Trying to get IBOAdmin components to work .. but getting errors with IBOBackupS? |
---|---|
Author | Woody |
Post date | 2006-04-12T23:00:15Z |
From: "ajwreyford" <wreymed@...>
('user_name='+IB_Connection1.UserName);
** notice the underscore character between "user" and "name"
HTH
Woody (TMW)
> I'm trying the following to get a backup service running for myNot completely sure, but shouldn't this be:
> application.
>
> procedure TFormBackupRestore.SpeedButton1Click(Sender: TObject);
> var
> j: integer;
> lBackupService: TIBOBackupService;
> lOptions: TBackupOptions;
> lVerboseInfo: TStringList;
> begin
> Screen.Cursor := crHourGlass;
> lVerboseInfo := TStringList.Create;
> lBackupService := TIBOBackupService.Create(nil);
> try
> try
> lBackupService.LoginPrompt := False;
> lBackupService.ServerName := IB_Connection1.Server;
> lBackupService.Protocol := IB_Connection1.Protocol;
> lBackupService.Params.Add
> ('username='+IB_Connection1.Username);
('user_name='+IB_Connection1.UserName);
** notice the underscore character between "user" and "name"
HTH
Woody (TMW)