Thanks for your reply
I have another question, for example i can insert data into two different using one ADOQuery but when i would like to update two table using one ADOQuery then i got an error
"Aplication uses a value of the wrong type for the current operation"
Code:
ADOQuery3.DisableControls;
ADOQuery3.EnableControls;
ADOQuery3.Parameters[0].Value:= Edit1.Text;
ADOQuery3.Parameters[1].Value:=2;
ADOQuery3.Parameters[2].Value:= Edit1.Text;
ADOQuery3.Parameters[3].Value:=1001;
ADOQuery3.ExecSQL;
ADOQuery3.DisableControls;
ADOQuery3.EnableControls;
here is the screen shot for the
Query