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 ...

The PRE Field Checks occur before the FCL Field Checks. They are executed after the ...

Sometimes MEDITECH does not make a segment available as a Detail Segment in their NPR ...

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

There are two NPR Macros that can either launch a PC-based executable or automatically ...