![]() The memds unit provides TMemDataset, so you will need to add that to your uses clause. If so, please, feel free to contribute to this document for the benefit of the Lazarus/FPC community. There might be some other, more efficient way to do this. This page shares with you what I have learned experimenting with TMemDatasets. I will illustrate how to program relational non-SQL memory databases, focusing on enforcing relation integrity and filtering, simulating auto-increment primary fields and similar. TBufDataset often is a better choice than TMemDataset Note: later on in this article, BufDataset is introduced. Instead of constantly switching from back-end programming to front-end programming, by using MemDatasets you can concentrate on your Pascal code. Since all programming is done in Lazarus/FPC, such applications are easier for maintenance.Code is multiplatform and can be compiled on any OS instantly.dll files), no need for server installation Since all processing is done in memory, no data is saved on hard disk until explicitly asked. If you need a fast, single-user, non mission-critical, non SQL database, without need for transactions, TMemDataset could suit your needs. There are certain circumstances when in-memory datasets make sense. 7 Sorting DBGrid on TitleClick event for TBufDataSet.2 Saving MemDatasets to persistent files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |