P
pav
Код:
procedure TForm1.FormActivate(Sender: TObject);
var
Present: TDateTime;
Year, Month, Day : Word;
begin
with Session do
begin
ConfigMode := cmSession;
try
AddStandardAlias( 'kollej',
ExtractFilePath(ParamStr(0))+'DATA\',
'PARADOX');
Table2.Active:=True;
finally
ConfigMode := cmAll;
end;
end;
end;