1 (edited by romio.7080 2024-03-08 17:42:04)

Topic: save separate row in table from one form (SOLVED)

Thanks i have found a way to do it .



I have form with combo box And 7 days label and 7 textboxes

I want to save each day value with the combo box in separate row in table , what is the code or script that I need for the button  ? thanks 

Name of editbox ‘s

Edit1
Edit2
Edit3
Edit4
Edit5
Edit6
Edit7
And the comopbox name is (comboBox1) the form name (workshousss) and the table is
( workingtime)
What code I need ?

Re: save separate row in table from one form (SOLVED)

SQLExecute('insert into Table_1 (Column_1,Column_2) Values ("+Combo_Component_name+","+Edit_Component_Name+")');

use script 7 times with different editbox name in one procedure