.NET Zip component, Delphi Zip component, Barcode .NET, BDE Replacement and other .NET and Delphi components from ComponentAce
Products Download Order Contact us

Search
 

Delphi/C++ Components
.NET Components
ActiveX Controls
Kylix Components

Download

Download
Download Commercial
Trial Limitations

Support

Submit Request
Support Options

Order

Purchase
Competitive Upgrade
Premium Support
Sales Policy
Upgrade Policy
License Types

Info

News
Mailing List
Articles
Testimonials



About Us
Partners
Links
Contact Us
Link to Us





Home > Delphi/C++ Components > Absolute Database > Run Time Components Creation Delphi Example

Absolute Database

Overview | Features | Requirements | Testimonials | SQL Samples | Code Samples | Screenshots | See Also | Download | Order
Run Time Components Creation Delphi Example
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.



Run Time Components Creation Delphi Example
Download Absolute Database | Learn more


Product Info


Current version: 7.95
Released: February 08, 2023
Price: $ 149

downloadorder


Our Customers



Testimonials

The other people in the office didn't believe me when I said that all I had to do was document the problem and you would probably give me a fix overnight. Unbelievable! Keep up the great work. I hope you guys all make a fortune out of this product because it is truly fantastic and the support is the best I have ever encountered.

Mark Kefford

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 20, 2024