<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods > BaseName |
Declaration
function BaseName: String;
Description
Extracts the DOS path and file name attached to the current work area.
Return Value
The file name is returned as a string.
Delphi Example
{Display table info}
with ApTbl do
begin
Text1.Text := IntToStr( WorkArea );
Text2.Text := BaseName;
Text3.Text := Alias;
Text4.Text := BaseDate;
end;
C++Builder Example
// Display table info
Text1->Text = IntToStr( ApTbl->WorkArea );
Text2->Text = ApTbl->BaseName();
Text3->Text = ApTbl->Alias();
Text4->Text = ApTbl->BaseDate();
See Also