1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Master/Detail

Discussion in 'Delphi Programming' started by saedi_mehdi, Dec 4, 2013.

  1. saedi_mehdi
    Offline

    saedi_mehdi DF Junior

    How to Cook Detial / Master's in Sql Server Runtime?

    procedure TForm1.Button1Click(Sender: TObject);
    begin
    ADOCommand1.CommandText := 'Create Table MasterTable ' +
    '(FieldName Primary Key);';
    ADOCommand1.Execute;
    ADOCommand1.CommandText := 'Create Table Detailtable ' +
    '(Fieldname Primary Key Refrenced Mastertable(Fieldname));';
    ADOCommand1.Execute;
    end;
     
  2. Proof
    Offline

    Proof Full Stack web developer engineer

    I don't understand why we should use this ? It create 2 tables : MasterTable and Detailtable but the Master/Detail functions can be used from TTable/ADOTable componants ...
     

Share This Page