Re: Deleting record under Forms

From: Dave Boswell <dave_boswell_at_nt.com>
Date: Fri, 01 May 1998 13:07:32 -0400
Message-ID: <354A0154.4BFC3030_at_nt.com>


Hi all,

On a similar note, when delete_record is used, and the delete fails due to some database constraint, the record is still removed from the block, just like clear_record. Is there some way to keep this from happening? I am currently using a Prog Unit to do a DML delete, with exception handling, and I clear the record only if the delete was successful. This is fine for a few blocks on a form but requires a great string of IFs when there are many blocks. Is there a better way?

Thanks,
Dave Boswell Received on Fri May 01 1998 - 19:07:32 CEST

Original text of this message