AnsweredAssumed Answered

delete button deleting ALL rows in the table

Question asked by BillPlunkett on Apr 28, 2014
Latest reply on Apr 28, 2014 by philmodjunk


delete button deleting ALL rows in the table


     I have a layout that has a button to add a new record to the table.  It performs a script that adds the record and changes a couple fields in 2 different tables.

     I HAD a button to delete the currently displayed record but when I used it, it would delete all the records in the table.  So I deleted the button and used the button a in the main too bar - it does the same thing.

     Here's the scenario:  I add one new record with the custom add button and immediately delete it with the toolbar button, all is well.  If I add 2 records and then delete the last add record - all records are deleted.

     what's wrong???