SetDeleted

<< Click to Display Table of Contents >>

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

SetDeleted

Declaration

procedure SetDeleted( const Value: WordBool );

Description

Makes deleted records either transparent or visible to record positioning functions.

 

Setting SetDeleted to TRUE incurs certain performance penalties. Instead of using SetDeleted TRUE, consider creating conditional index files with a condition of .not. deleted.

Parameters

If True, deleted records will be invisible to all record positioning functions except Go .

Delphi Example

ApolloEnv1.SetCentury( True ); // dates to display century

ApolloEnv1.SetDateFormat( dfAmerican ); // date format MM/DD/CCYY

ApolloEnv1.SetDeleted( True ); // filter deleted records

See Also

TApolloEnv.Deleted Property, Deleted Method, ApolloDelete, Pack, Recall