How do I: cancel deleting the record from table.

Hi,

when user deletes the record from table I have the following dialog in “OnDelete” method:

loc_DialogResult := DIALOG.CONFIRM(‘You will not be able to cancel deleting. Continue?’, FALSE);

So if user changes his mind and press “Cancel” I rise an Error:

IF loc_DialogResult = FALSE THEN

BEGIN
ERROR(‘Deleting canceled’);
END;

Question:

how can I avoid error message. Just quietly stop deleting process.

Thanks

Did you try?

ERROR(’’);

Works, thank you.

Welcome

Laptop Repairs in MississaugaSame Day Onsite Computer Repairs, Repairs on Desktop Computers and Laptops, Servicing All Makes Models , Same Day Service, Award Winning Customer Servicecomputer repair in mississauga

Laptop Repairs in MississaugaSame Day Onsite Computer Repairs, Repairs on Desktop Computers and Laptops, Servicing All Makes Models , Same Day Service, Award Winning Customer Servicecomputer repair in mississauga