My IPeople

Community discussion for IPeople products and services
Welcome to My IPeople Sign in | Help
Home Blogs Forums

Using the BFI FIeld Attribute on NPR Report Writer Screens (MAGIC and C/S)

Last post 08-03-2007, 8:01 AM by Brian. 0 replies.
Sort Posts: Previous Next
  •  08-03-2007, 8:01 AM 501

    Using the BFI FIeld Attribute on NPR Report Writer Screens (MAGIC and C/S)

    BFI stands for Before Input.  BFI attributes can come in pairs, just like FCL attributes.  They perform checks after the IFE attribute has resulted in a non-nil value and after the DFT2 attribute has been set up, but before the end-user has entered in anything. 

    In this example, assume your report has a Select Field called 'date' that accepts a range of dates using the GE and LE operators.  The beginning date for the GE operator is stored in, and the ending date for the LE operator is stored in  Assume the end-user enters in the dates incorrectly: is after  If your report has another Select Field that comes after the 'date' Select Field, you can use a BFI attribute on the third Select Field to check for the incorrect dates and then redisplay them correctly:

    1) For your report, you will need to set up a macro called 'check' with the following code:^TEMP,^,

    2) Your BFI attributes should appear like this.  You will need to replace DPM with your Report DPM and report with the name of your report:>"")

    Please NOTE: @Display is an NPR programming Macro that displays a value for a field in the position of the field at the time the NPR Report Macro is translated.  If your field is moved around on your screen, you will need to retranslate this macro so that the @Display programming Macro displays the value at the new position.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems