Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Easily Connect To SQLite Using FireDAC And LiveBindings In Delphi

This sample shows the use of FireDAC database connection using SQLite. Also, it shows how to use a TBindNavigator control.

Location

You can find the FMGettingStarted project at:

How to Use the Sample

  1. Navigate to the location given above and open FMGettingStarted.dproj.
  2. Press F9 or choose Run > Run.
  3. Click the Open button and the database’s data will appear in the grid.
  4. Choose a database and enter your password or use the default database which has no password.
  5. Navigate through the data using the TBindNavigator.

Files

FileContains
FMGettingStarted.dprojContains the project itself.
MainFrm.fmxContains the main form code.
MainFrm.pascontains the main form and the main code.

Implementation

If you would like to check the original post of Embarcadero, please visit the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FireDAC.SQLite_Desktop_Sample

Head over and check out all of the source code for the SQLite sample app for Windows in Delphi.

Exit mobile version