A Delete_record does not work [message #422491] |
Wed, 16 September 2009 16:37 |
lnegger
Messages: 1 Registered: September 2009
|
Junior Member |
|
|
Hi, i would like you to pardo me if may english is not good. I'll try to explain may problem. I have a multirecord block. I put a DELETE_RECORD in the trigger KEY-DELREC of the block. The code inside taht trigger is DELETE_RECORD. The program seems to work because the record disapears of the block, then i press the save buttom of the toolbar. Then when i make the same query, the record deleted is there again. The application returns no error.
If somebody can help me, thanks in advanced.
|
|
|
|
Re: A Delete_record does not work [message #422573 is a reply to message #422491] |
Thu, 17 September 2009 08:21 |
bahubcd
Messages: 40 Registered: July 2007 Location: Bangalore
|
Member |
|
|
lnegger,
Make sure of the 2 things below.
1. The save button should have commit_form statement.
2. While you do the delete_record and re-query, make sure that there is no rollback happenning anywhere.
Regards,
Bahubcd.
|
|
|
Re: A Delete_record does not work [message #423084 is a reply to message #422491] |
Tue, 22 September 2009 01:15 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Does the 'delete record' on the 'smartbar' menu cause the record to be deleted?
Is the block based on a table or did you populate the records in the block yourself?
David
|
|
|