Vous êtes sur la page 1sur 2

Lazarus Tutorials

Pgina 1

Home - - A2 Databases - - A2 Scripts - - A2 Problems - - AS Hardware - Database Tutorials - - Lazarus Tutorials - - Lazarus - - Linux - -

Lazarus Tutorials
Each folder contains everything except the executable. Compile the source code yourself. Each folder has the SQL for the database.

Use an SQL database


Connect! Connect to a SQLite database. Uses: SQLite3Connection component See The Data Display and edit the database. Uses: SQLTransaction, SQLQuery, Datasource, DBGrid, DBNavigator components! Better data entry Use DBEdit boxes to good effect Uses: SQLTransaction, SQLQuery, Datasource, DBGrid, DBNavigator and DBEdit components! Pictures and Sounds Show memos, pictures and sound for each entry Uses: DBMemo, DBImage components and the Shellexecute() function Run SQL Runs SQL commands like SELECT, INSERT, UPDATE or CREATE Show the data in a DBGrid, StringGrid and memo. Uses: SQLQuery1.Field.FieldByName().AsString. Multiple Tables Show a database with 4 tables Select data from several tables Uses : Combobox Do it all with buttons Use buttons instead of DBNavigator and search for a particular record How to install a new package Uses : Locate() function Reports with LazReport Create a neat report for preview or printing How to install a new package Uses : LazReport

Other DBMSs
Lazarus-MS Access Lazarus-MySQL Lazarus-SQLite

http://www.alevel-computing.x10.mx/indexALazarusTutorials.php

04/04/2013 23:00:08

Lazarus Tutorials

Pgina 2

Creating Objects in Lazarus programs


Creating objects dynamically

Printing
Creating objects dynamically

http://www.alevel-computing.x10.mx/indexALazarusTutorials.php

04/04/2013 23:00:08

Vous aimerez peut-être aussi