if MessageDlg('确定要注销用户吗?',mtConfirmation,[mbYes,mbNo],0)= mrYes then
   begin
   adoquery3.Close;
   adoquery3.SQL.Clear;
   adoquery3.SQL.Add('delete from cardtable where card_id={select card_id from usertable where user_id=:a1}');
   adoquery3.Parameters.ParamByName('a1').Value:=edit1.Text;
提示我说parameter 'a1'is not found
请教应该如何更正