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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable confirm delete window?

Status
Not open for further replies.

madreply

Technical User
Dec 6, 2011
9
Hi, well the the title says it all. I want to disable the confirm delete window that appears when I click the delete button. If anyone knows please respond, thx!
 
Hello
Go to your update screen properties,choose "messages and titles" button, in "When called for delete" option choose "Automaic delete".

This should do it


Regards

 
Thank you very much. But how do I program it to delete another record also, from some other table without showing me the confirm delete window?
 
Hi,

for example you can use then embed after call update-procedure:

IF SELF.Request = DeleteRecord AND GlobalResponse = RequestCompleted THEN
ACCESS:MyTABLE.CELARKEY(MyTABLE:KeyID)
MyTABLE:MyFieldId = 123
IF ACCESS:MyTABLE.FETCH(MyTABLE:KeyID) = LEVEL:BENIGN THEN
ACCESS:MyTABLE.DELETERECORD(0)
END
END

cagiv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top