Questions tagged [datamodule]

A Data Module (TDataModule) is a class in Delphi which represents a non-visual form, only allowing non-visual components. Data Modules are often used to encapsulate common business rule, components commonly used across an application, and are used as a base for various infrastructures, such as a Service (TService) or a Web Module (TWebModule).

A Data Module (TDataModule) is a class in Delphi which represents a non-visual form, only allowing non-visual components. Data Modules are often used to encapsulate common business rule, components commonly used across an application, and are used as a base for various infrastructures, such as a Service (TService) or a Web Module (TWebModule).

64 questions
0
votes
3 answers

Working with datasets in Datamodule

I have a DataModule and I want to have many (>50) datasets inside of it. I plan to request data from that datasets via functions and procedures. The question is, what is the best way to organize datasets in the DataModule? I see three options: One…
Vasiliy Volkov
  • 745
  • 8
  • 10
0
votes
1 answer

C++ Builder XE2: Initializing a Data Module in a dll

I'm trying to create a dll that contains a VCL data module - the idea being that various applications can all load the same dll and use the same database code. The data module itself is tested ok as part of an application - I've copied the form over…
user1898153
  • 463
  • 6
  • 12
0
votes
3 answers

New TFrame and TDataModule crashing Delphi IDE

Here is the problem I've met: Working in BDS 2006 IDE, my older computer gone, new ( i7 mount ) has been built and it has Windows 7 Ult OS 64bit, where 2006 was installed and QuickReports Pro as well as eDocEngine, FIB+, TMS, LMD, ZEOS & DB Comparer…
NaN
  • 8,596
  • 20
  • 79
  • 153
-1
votes
2 answers

Access DataModule's event from another Form (delphi design-time)

I would like to know if there's any way to link a component's event (As TButton.OnClick) to a procedure defined in a datamodule (At design-time). At the moment, I'm doing this at runtime: MyButton.OnClick := MyDataModule.MyOnClickEvent; The goal…
Hwau
  • 850
  • 3
  • 12
  • 23
1 2 3 4
5