79362640

Date: 2025-01-16 18:06:27
Score: 1.5
Natty:
Report link

Thank you very for all of you. I found

I found the answer. It was a rookie syntax error This is the working code

FDQuery1.sql.Text := 'INSERT INTO tblTags ("Group", "Title", "Keys", "AllKeys") VALUES (:group, :title, :keys, :allkeys)';
 FDQuery1.ParamByName('group').asString := ComboBox1.Text;
 FDQuery1.ParamByName('title').asString := cxTextEdit2.Text;
 FDQuery1.ParamByName('keys').asString := cxTextEdit3.Text;
 FDQuery1.ParamByName('allkeys').asString := cxRichEdit2.Text;
 FDQuery1.ExecSQL;

The problem was that I didn't put the fields in the table under " "

Thanks again to everyone.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dusko Jovic