How to delete a record that doesn't exists yet

When creating a new record on a form, and you want to delete that record in the ‘on-validate trigger’(form or table trigger) under a certain condition, the record doesn’t really exists yet. What should you have to do to get rid of the record and let you jump to the previous record without any errors? Thanks, David

This may not be the answer you are looking for but…

quote:


What should you have to do to get rid of the record and let you jump to the previous record without any errors?


Choose a different approach. What you suggest is not “Navision-style”. Generally, non-Navision-style hacks will cost you a lot of time, and seldom give you an ideal solution.

Maybe a silent Error is of any help? ERROR(’’); This discardes any entries and changes being made !