Create a osFinancials plugin in Lazarus 0.9.20 Beta

Jump to: navigation, search

How to create a osFinancials plugin in Lazarus 0.9.20 Beta (release of 5-11-2006).

Lazarus can make .exe files that can be placed in plugin folder. From osf 1.0.1.16 + this will be included in the plugins menu.

The exe will recieve parameters like username, password, database and server name. The example includes 1 connection to the database 1 session and 5 Query's to support the operation of listing(select Sql), Inserting(Insert SQL) editing (update SQL) and Deleting. For inserting we need to get a new id from the database. This example just uses a max+1 as the countries table does not have generator. Most of the other tables in osF do have generators.

Please download the example here after installing the latest version of Lazarus.

Personal tools