Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: Why .RefreshRecord doesn't call OnCalcFields?



Permlink Replies: 1 - Last Post: Jul 14, 2016 10:58 PM Last Post By: Dmitry Arefiev
Andrea Bettin

Posts: 6
Registered: 12/12/15
Why .RefreshRecord doesn't call OnCalcFields?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 12, 2016 8:46 AM
Hi,

I'm using XE7 and FB 2.5 and I've a problem with .RefreshRecord: it refresh data fields, but it doesn't update calculated fields (it doesn't fire OnCalcFields event).

Is this a problem in FireDAC?

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

Posts: 1,406
Registered: 12/7/03
Re: Why .RefreshRecord doesn't call OnCalcFields?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2016 10:58 PM   in response to: Andrea Bettin in response to: Andrea Bettin
Thank you for reporting that. This is a bug. It is fixed now.
I posted the patch to: https://forums.embarcadero.com/thread.jspa?threadID=224969

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

Server Response from: ETNAJIVE02