BaseDate

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

BaseDate

Declaration

function BaseDate: String;

Description

Retrieves the date on which the table was last opened for read/write access.

Return Value

The date is returned as a string. The string is formatted as defined by SetDateFormat and SetCentury.

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

BaseName, IndexFileName