Topic: more than one data at same time
sir, i made one database table using two fields (data1 and data 2) . is it possible to save after filling more than one data in a same datafield.?
any script. thanks
My Visual Database → Script → more than one data at same time
sir, i made one database table using two fields (data1 and data 2) . is it possible to save after filling more than one data in a same datafield.?
any script. thanks
Using script and SQL query, you can do it
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
SQLExecute('INSERT INTO table1 (data1, data2) VALUES ("' + Form1.edData11.Text + '","' + Form1.edData21.Text + '")');
SQLExecute('INSERT INTO table1 (data1, data2) VALUES ("' + Form1.edData12.Text + '","' + Form1.edData22.Text + '")');
SQLExecute('INSERT INTO table1 (data1, data2) VALUES ("' + Form1.edData13.Text + '","' + Form1.edData23.Text + '")');
Form1.TableGrid1.dbUpdate;
end;
Please, download example project.
img]thanks for ur quick reply...............
this is actually i need... but sir my actual planing not succes because all datas are showing in the table grid...
any scope?
check this
in your case, you need another table
Please, download project
i am again..... and thankyou
sir thats working fine .. but canot making report.. if trying to making report only one data will display....and make a editing in table grid data it canot display report.....? any help..?
sir if this is not possible please tell me, how to save only the field contain data? ( i mean script for at the time of saving the vaccent field not include)
My Visual Database → Script → more than one data at same time
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi