🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5672

Re: Cancelling delete in BeforeDelete events ???

#5672
From: Sandi Wijaya
Date: Wed, 07 Mar 2001 03:50
29 lines
1618 bytes
Hi, Mr. Antley

I have tried that. It's working but When I tried to Continue the process,
the application return "access violation" error message. And then I tried to
the created executable application file  there's no return access violation
message.

I am worried about that it will make something stuck in memory. Is it normal
or not for access violation message in Aborting process ?

Thank you.


"J. R. Antley" <jantley@phoenixdsl.com> wrote in message
news:983u0o$ik06@bornews.inprise.com...
> Hi Sandi,
>
> There is an horrible way to do it:
>
> if (DeleteAllowed() == false)
> {
>   Abort();
> }
>
> Under the covers, this throws an exception and somebody catches it...  It
> sux, but it will work.
>
> JR
>
Technical Details
Message-ID: <3aa5b03f_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!202.158.29.162
References: <3aa4a015_1@dnews> <983u0o$ik06@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a796c25e92fcc869
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-03-06 19:56:07 PST
From: "Sandi Wijaya" <sandiwijaya@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3aa4a015_1@dnews> <983u0o$ik06@bornews.inprise.com>
Subject: Re: Cancelling delete in BeforeDelete events ???
Date: Wed, 7 Mar 2001 10:50:41 +0700
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 202.158.29.162
Message-ID: <3aa5b03f_1@dnews>
X-Trace: 6 Mar 2001 19:51:27 -0800, 202.158.29.162
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!202.158.29.162