Topic: How to edit a record when using SQL Query on a button
Hello,
this is the first time I have used a SQL Query button when displaying table records in a TableGrid. I press the button and the result of the SQL Query is displayed in the table with the headings all fine. I place a button on the form to edit the selected record but when I click the button, I get the message "No record selected for editing". I have created the edit button the same as I would for any other normal Tablegrid. So there is a difference between a normal table and when a SQL Query is used. Can somebody please help me so I can press the button to edit the highlighted record.
Thanks in advance for any help.
Regards,
David