Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread On calculate fields still being called
Mon, Apr 3 2006 1:40 PMPermanent Link

Connie C. McBride
I have a table with code for the on calc fields event.
in one form I have :
  dmMain.tblOrderMat.AutoCalcFields := false;
  dmMain.tblOrderMat.Edit;
And the code in the oncalc event is called.
Why is that?
I even put a breakpoint in the code to make sure the flag is still turned off.  It is.
Tue, Apr 4 2006 11:09 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Connie,

<< I have a table with code for the on calc fields event. in one form I have
:
  dmMain.tblOrderMat.AutoCalcFields := false;
  dmMain.tblOrderMat.Edit;
And the code in the oncalc event is called.
Why is that? >>

AutoCalcFields just turns on or off the refresh of the calc fields when
individual fields are modified.  Calc fields are still refreshed when the
active record changes during editing, etc.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image