Subject | using TIBValidateService with FB 1.5 database (IBX 7.08) |
---|---|
Author | d_dude_2003 |
Post date | 2005-08-02T07:25:23Z |
Hi there guys,
The following code works, but it logs only one empty line.
Is it supposed behaviour of TIBValidationService or am i missing
something?
with IBValidationService do
begin
ServerName := 'localhost';
LoginPrompt := False;
Params.Add('user_name=SYSDBA');
Params.Add('password=masterkey');
Screen.Cursor := crHourGlass;
Attach;
Active := True;
try
Options := [CheckDB, ValidateDB];
DatabaseName := 'C:\Projects\WorkFlowPro\ENV.GDB';
ServiceStart;
while not Eof do
mmLog.Lines.Add(GetNextLine);
finally
Active := False;
Screen.Cursor := crDefault
end;
end
Thanx,
Eugene.
The following code works, but it logs only one empty line.
Is it supposed behaviour of TIBValidationService or am i missing
something?
with IBValidationService do
begin
ServerName := 'localhost';
LoginPrompt := False;
Params.Add('user_name=SYSDBA');
Params.Add('password=masterkey');
Screen.Cursor := crHourGlass;
Attach;
Active := True;
try
Options := [CheckDB, ValidateDB];
DatabaseName := 'C:\Projects\WorkFlowPro\ENV.GDB';
ServiceStart;
while not Eof do
mmLog.Lines.Add(GetNextLine);
finally
Active := False;
Screen.Cursor := crDefault
end;
end
Thanx,
Eugene.