Einzelnen Beitrag anzeigen

question

Registriert seit: 17. Apr 2013
97 Beiträge
 
#3

AW: SQL Query in object Inspector

  Alt 9. Feb 2014, 19:55
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
Miniaturansicht angehängter Grafiken
screen1.png  
  Mit Zitat antworten Zitat