alguidelines icon indicating copy to clipboard operation
alguidelines copied to clipboard

Add documentation for SetAutoCalcFields method

Open StefanSosic opened this issue 11 months ago • 2 comments

image image

StefanSosic avatar May 12 '25 18:05 StefanSosic

Looks great, do we want to mention you can SetAutoCalcFields on OnOpenPage as far as I recall (do double check), to have the field pre-calculated. Especially useful for lists if you really do need to calculate a field. This is only needed for fields not on the page however, as a FlowField shown on a page will always be calculated. Maybe we also want to mention that CalcFields should only be used if you already have the record, if you're fetching it, always use SetAutoCalcFields.

AndreasMoth avatar May 13 '25 07:05 AndreasMoth

Looks great, do we want to mention you can SetAutoCalcFields on OnOpenPage as far as I recall (do double check), to have the field pre-calculated. Especially useful for lists if you really do need to calculate a field. This is only needed for fields not on the page however, as a FlowField shown on a page will always be calculated. Maybe we also want to mention that CalcFields should only be used if you already have the record, if you're fetching it, always use SetAutoCalcFields.

Double-checked and added both :)

StefanSosic avatar May 29 '25 20:05 StefanSosic