Fearless Cross-Platform Development with Delphi by David Cornelius
Author:David Cornelius [David Cornelius]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2021-10-22T00:00:00+00:00
Getting table and query records from SQLite
This process is similar for preparing the MobileSalesSQLite project, but the initial set of instructions will be repeated here for completeness and to cover a few unique aspects of SQLite:
Double-click the TFDConnection component in the project's data module.
Select SQLite for Driver ID.
Select the chinook.db file you downloaded earlier for the Database parameter.
Click the Test button (you'll be prompted for user credentials, just like you were for the InterBase connection, but you can leave the fields blank as there is no user security for SQLite).
If all is well, clicking OK will confirm that the database can be accessed.
Uncheck the LoginPrompt property in the Object Inspector window.
Add a TFDTable component to the data module and ensure its connection gets automatically assigned to the TFDConnection component.
Set the Table property to invoices by selecting it from the dropdown list of tables found in the SQLite database, and set its Active property to True.We'll use a TStringGrid again as it plays better with LiveBindings. We can use the LiveBindings Wizard to set this up for us, but since the tab control is an aligned client, we can't right-click on the form to get to the LiveBindings Wizard in the right context; launching the wizard from the LiveBindings Designer gives us the options we need, so we'll go there first.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9372)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9343)
The Mikado Method by Ola Ellnestam Daniel Brolund(9307)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7851)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7402)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7323)
Grails in Action by Glen Smith Peter Ledbrook(7295)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7116)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5957)
Kotlin in Action by Dmitry Jemerov(4637)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3883)
Functional Programming in JavaScript by Mantyla Dan(3723)
Learning Java by Patrick Niemeyer & Daniel Leuck(2871)
Mastering Python for Finance by Weiming James Ma;(2838)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2837)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2600)
Windows APT Warfare by Sheng-Hao Ma(2594)
Mastering Java 9 by Dr. Edward Lavieri(2573)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2558)