Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete record

Status
Not open for further replies.

raai

Programmer
Jul 17, 2008
30
MX
I have the button of delete record in a browse list, but i need handle the action.

If the user press the buttom "Yes" in the window confirmación, I execute code if the user confirm that the record must be deleted.

I have the code in Accepted Embed but if the user press "No" in the window confirmation even so execute code.

How can i handle it?
 
Hi!

ABC or Legacy?

Putting code in the Accepted embed of the DELETE button is a bad idea. You need to find out the first embed after the FORM procedure is being called and then issue the code ::

IF <Request> = DeleteAction and <Response> = RequestCompleted
... row was actually deleted and your code goes here ...
END

You need to change <Request> & <Response> to the correct variables depending on ABC or Legacy.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top