My IPeople

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

Using the PRE Field Attribute on NPR Report Writer Screens

Last post 08-03-2007, 10:18 AM by Brian. 0 replies.
Sort Posts: Previous Next
  •  08-03-2007, 10:18 AM 502

    Using the PRE Field Attribute on NPR Report Writer Screens

    The PRE Field Checks occur before the FCL Field Checks.  They are execute after the end-user enters a non-printable
    character.  Unlike FCLs, they execute regardless of whether or not the end-user entered in a new non-nil value.

    Here is an example (MAGIC) that converts whatever the end-user enters from lowercase to uppercase:   PRE1=A~$L.TO.U^A

    Here is the same example but for C/S:   PRE1=A@Trl2u^A

    Here is an example for MAGIC that automatically exits a screen if the end-user does not enter in any value into a field:

    PRE1=IF{@Not(A) 231^/Z^t}

    Here is that sample example for C/S:   PRE1=IF{@Not(A) 27^/Z,1^/(.S).SKIP.EXIT}

    This example will work for both MAGIC and C/S.  It pops up the exit prompt if no value is entered:   PRE1=IF{@Not(A) 27^/Z}

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