Hello all
I have a problem with the DBF parameter
I can't seem to fill in the path
Either by form.activate
or
Dbf.beforeopen
Do you have any idea how to do it,
I am using the code below, but I have errors
satkoverflot
database
In short, it doesn't work
Ideas ?
please
if Tdbfcompte.Active = True then
begin
Tdbfcompte.Active := False;
end;
if Tdbfcompte.Active = False then
begin
Tdbfcompte.Exclusive:= True;
Tdbfcompte.FilePathFull:= ExtractFilePath(Application.ExeName)+'\tables';
Tdbfcompte.FilePath:= ExtractFilePath(Application.ExeName)+'\tables';
Tdbfcompte.TableName:= 'comptes.dbf';
Tdbfcompte.Exclusive:= False;
Tdbfcompte.Active := True;
Tdbfcompte.First;
end;
[Edited to add code tags - please see
How to use the Forums.]