Shows how to create Absolute DB components at run-time in console application.
Download Absolute Database | Learn more
program RunTimeComponentsCreation;
{$APPTYPE CONSOLE}
uses
SysUtils,
ABSMain;
const
DataBaseFileName: String = '..\..\Data\Demos.abs';
var
DB: TABSDatabase;
Table: TABSTable;
begin
DB := TABSDatabase.Create(nil);
Table := TABSTable.Create(nil);
try
DB.DatabaseName := 'db';
DB.DatabaseFileName := ExtractFilePath(ParamStr(0)) + DataBaseFileName;
DB.Open;
Table.DatabaseName := DB.DatabaseName;
Table.TableName := 'employee';
Table.Open;
while not Table.Eof do
begin
writeln(Table.FieldByName('FirstName').AsString+' '+Table.FieldByName('LastName').AsString);
Table.Next;
end;
writeln;writeln('Press any key');
readln;
finally
Table.Free;
DB.Free;
end;
end.
Download Absolute Database | Learn more |
|
|
Current version: 7.95
Released: February 08, 2023
Price: $ 149
|
|
Component Ace is all that it advertises. It is easy to implement and is very fast.
In addition, the customer support is the best I have ever had. All my questions were answered within hours, often immediately. The responses also answered my questions, no need for followup emails.
If your application needs the functionality that Component Ace provides, search no further.
Linda Murphy
|
|
|