.comment-link {margin-left:.6em;}

Monday, August 27, 2007

 

twoltable

TWOLTable object
Unit: WOLDBK02.
Descendant of TDBDataSet. , of a basic data table that use of archives of type DBF makes. He presents limitations, as not to use indices.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
function GetFieldData (Field: TField; Buffer: Pointer): Boolean; override;

function CreateBlobStream (Field: TField; Mode: TBlobStreamMode): TStream; override;
Method usedd to create a stream of type BLOB to be stored by the indicated field. Internal use.

procedure CreateTable; Method used to create DBF table with fields that had been indicated in the FieldDefs property.

procedure PackTable;
Method used to physically remove the registers marked for deletion.

procedure EmptyTable;
Method used to erase the data of a table.

function isDeleted: Boolean;
Method used to verify if the current register is marked for deletion.

procedure UnDelete;
Method used to remove the register mark for deletion.

Public properties and Events:

It activates

DatabaseName: string (For Reading and Writing)
Property that indicates the name of the database that is given for the object.

User: string (For Reading and Writing)
Property that indicates the name of the user of the table. For the time being, it is worthless.

Password: string (For Reading and Writing)
Property that indicates the used password in the table. For the time being it is worthless.

TableName: string (For Reading and Writing)
Property that indicates the array name used for the object.

DeletedON: Boolean (For Reading and Writing)
Property that it indicates registers marked to be erased must be shown or not.

BeforeOpen
AfterOpen
BeforeClose
AfterClose
BeforeInsert
AfterInsert
BeforeEdit
AfterEdit
BeforePost
AfterPost
BeforeCancel
AfterCancel
BeforeDelete
AfterDelete
BeforeScroll
AfterScroll
OnDeleteError
OnEditError

Labels: ,


Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?