Toggle navigation
Toggle navigation
Home
Products
About us
Support
Contact
Try it free
order
Register
Log In
Forums
Products
Direct Oracle Access
OnDelete not called
Search
Advanced Forum Search
Forums
Active Threads
Print Thread
OnDelete not called
#2665
10/25/01
07:22 PM
Joined:
Oct 2001
Posts: 39
Oyten, Germany
S
SvenHeuer
OP
Member
OP
SvenHeuer
Member
S
Joined:
Oct 2001
Posts: 39
Oyten, Germany
Marco,
is this a WAD?
TDataSet in CachedUpdate (Master of a Detail DataSet)
Insert a record (and do not post it). Insert a record on a detail DataSet. Delete the Master-Record.
The OnDelete handler will not be called ?
Greetings
Sven
Copy Link to Clipboard
Re: OnDelete not called
#2666
10/26/01
04:10 PM
Joined:
Aug 1999
Posts: 22,212
Marco Kalter
Member
Marco Kalter
Member
Joined:
Aug 1999
Posts: 22,212
Before looking into this, which OnDelete handler are you referring to?
------------------
Marco Kalter
Allround Automations
Marco Kalter
Allround Automations
Copy Link to Clipboard
Re: OnDelete not called
#2667
10/26/01
05:44 PM
Joined:
Oct 2001
Posts: 39
Oyten, Germany
S
SvenHeuer
OP
Member
OP
SvenHeuer
Member
S
Joined:
Oct 2001
Posts: 39
Oyten, Germany
You're right. The handler has the correct name:
TOracleDataSet.BeforeDelete(DataSet : TDataSet)
Greetings
Sven
Copy Link to Clipboard
Re: OnDelete not called
#2668
11/01/01
04:09 PM
Joined:
Aug 1999
Posts: 22,212
Marco Kalter
Member
Marco Kalter
Member
Joined:
Aug 1999
Posts: 22,212
If the newly inserted record isn't posted yet, it will effectively be cancelled when you delete it. That's why the BeforeDelete event does not fire.
------------------
Marco Kalter
Allround Automations
Marco Kalter
Allround Automations
Copy Link to Clipboard
Moderated by
support
Hop To
Products ------
Plyxon
PL/SQL Developer
Direct Oracle Access
Query Reporter
Alpha / Beta releases ------
Plyxon Alpha / Beta
PL/SQL Developer 15.0 Beta
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Privacy Policy
·
Forum Rules
·
Mark All Read
Contact Us
·
Forum Help
·
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:
PHP:
7.1.33
Page Time:
0.026s
Queries:
14 (0.007s)
Memory:
2.5041 MB (Peak: 3.0393 MB)
Data Comp:
Off
Server Time:
2024-05-09 08:46:09 UTC
Valid HTML 5
and
Valid CSS