Topic: Save button
Hi friends,
How are you all? Today I am asking about how to create save button to save records of various tables using script?
My Visual Database → Script → Save button
Hi friends,
How are you all? Today I am asking about how to create save button to save records of various tables using script?
Hi friends,
How are you all? Today I am asking about how to create save button to save records of various tables using script?
procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
SQLExecute('INSERT INTO a(qq)VALUES("'+Form1.Edit1.Text+'")');
SQLExecute('INSERT INTO b(ww,id_a)VALUES("'+Form1.Edit2.Text+'","'+IntToStr(Last_Insert_id)+'")');
UPDATEDATABASE('a');
UPDATEDATABASE('b');
end;
Thank you sibprogsistem
My Visual Database → Script → Save button
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi