Set default value on Inquire

 1 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Chris Puckett
Basic Member
Posts: 10
Basic Member
    When I Inquire on a record in PA02, I want to set the value in the "Update Employee" field to "Y".

    I know how to default it to "Y" when you enter the form. But when you inquire on an existing record, the value switches to "N".

    Any thoughts?

    <<<< UPDATE >>>

    Nevermind, I figured out the syntax.
    John Henley
    Posts: 3353
      Here's how I would do it:
      First in the OnBeforeTransaction form event, capture the FC to a global variable.
      Then in 'OnAfterTransaction' (if saved value for FC is I) change the on-screen value to a 'Y'.

      Thanks for using the LawsonGuru.com forums!
      John