ABDELLAH GADi 0 Posted February 27, 2022 Help me to fix this problem to delete record in delphi with fdqury when this value of record is choosed by me with edit.text or dbedit.text i try like this but is not working so fdquery.SQL.Text := 'delete * FROM MyTable column_name =:KEY1 '; fdquery.ParamByName('KEY1').AsString = 'dbedit.text'; fdquery.Open; thank you Share this post Link to post
Lajos Juhász 293 Posted February 27, 2022 (edited) Quote fdquery.SQL.Text := 'delete FROM MyTable WHERE column_name =:KEY1 '; fdquery.ParamByName('KEY1').AsString = dbedit1.text; fdquery.ExecSQL; Edited February 27, 2022 by Lajos Juhász Share this post Link to post
Guest Posted February 27, 2022 (edited) FDQ.ExecSQL( 'sqlExpression...', [params] ); Edited February 27, 2022 by Guest Share this post Link to post