Create a osFinancials plugin in Lazarus 0.9.20 Beta

User Rating:  / 0
PoorBest 

Create a osFinancials plugin in Lazarus 0.9.20 Beta

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.

You need to install the firebird server in order to beable to use your plugin.
As of version osF 3.x osF is default a single user database.
In osF in the open administration screen you'll need to add the IP adres of the server (ie. 127.0.0.1) to each administration details.