The Data Module, App_DMod.
 
 
 
 
 
 Add  new Data Module - App_DMod
 
               Used to store Database, table, query and ... controls corresponding ...

 
List of Controls used in this Form:
          DataBase and 
Table
 
 Create Data Module ...
  • On the File menu , click  New. and then click Data Module New File name Unit1.pas appears. (Form name - DataModule1)
  • On the View menu , click  Object Inspector. In Object Inspector modify the following ...

    1- Unit1.pas
      Old New
    File Name: Unit1.pas App_DMod.pas


    2. DataModule1

      Old New
    Form Name: DataModule1 AppDMod



    The codes  corresponding to the Data Module1 created by system ....     File name - Unit1.pas
    .

    unit Unit1;

    interface

    uses
    Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    Dialogs;

    type
    TDataModule1 = class(TDataModule)
    private
    { Private declarations }
    public
    { Public declarations }
    end;

    var
    DataModule1: TDataModule1;

    implementation

    {$R *.nfm}

    end.


    Save this file ...
             On the File menu , click  Save

 

 Add the following controls to ...

 

 The codes  corresponding ...

 

 

 


Previous Home
3
Next