Data module
From Free Pascal wiki
Jump to navigationJump to search
References:
Tutorials/practical articles:
Databases |
A data module is a database specific kind of pascal unit. Much like a TForm you can drop components on it, as long as they are non-visible.
Typically a data module might contain a TSQLConnector (or a specialized one) and a TSQLTransaction.
A new data module can be created using File|New...
The datamodule above contains three database related items:
SQLScript1 sets its transaction to SQLTransaction1 and its DataBase to SQLConnector1