Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Data module

English · 日本語

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


From the Free Pascal wiki, page "Data module", as it stood on 2016-09-23 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .