March 14, 2022

Using WITH=START as a Field Attribute

WITH is a Field Attribute that determines when a field should be evaluated during a report.  WITH=START makes your report evaluate a field at the beginning (START) of the report.  This can make your report run more efficiently.

If you have a user-defined field with a value that does not change throughout your report, then you can use the WITH=START Field Attribute to force your report to calculate that value only once.  Your report runs more efficiently since it only calculates the value once.

Example:

DAT=DATE10
LEN=10
VAL=@.today
WITH=START

Topics: MEDITECH, Magic System, NPR Report, CS System

You Might Also Enjoy

Entering documentation on Field Attributes, Line Attributes, and Footnotes can come in ...

WITH is a Footnote that allows you to specify which Subscript a user-defined (xx) field ...

The Process Reports routine has an option for enter/editing Attributes to Screen Field ...

SUB is a Field Attribute not documented on Meditech's website. It allows you to define ...

l (that's a lowercase L) is the MAGIC function for returning the number of leading ...