Set default value on Inquire

Sort:
You are not authorized to post a reply.
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
    Senior Member
    Posts: 3348
    Senior Member
      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
      You are not authorized to post a reply.