Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Why Edit/Post inside try...except block are rolled back?



Permlink Replies: 1 - Last Post: Jul 31, 2016 2:19 AM Last Post By: Dmitry Arefiev
Andrea Bettin

Posts: 6
Registered: 12/12/15
Why Edit/Post inside try...except block are rolled back?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 29, 2016 1:17 AM
Hi,

I'm using XE7 and FB 2.5 and I've the following problem:

when a Table1.Edit...Post block is called INSIDE a try...except block, the data is NOT saved because an implicit Rollback is called.

Attached there is a small project that shows the problem
[https://drive.google.com/open?id=0B66zhuObV8pxNjFEZHBndEZOZEU]
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: Why Edit/Post inside try...except block are rolled back?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 31, 2016 2:19 AM   in response to: Andrea Bettin in response to: Andrea Bettin
Thank you for reporting that. Fixed. I posted patch to:
https://forums.embarcadero.com/thread.jspa?threadID=228249

--
With best regards,
Dmitry
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02