Transferred form values

Sort:
You are not authorized to post a reply.
Author
Messages
David Williams
Veteran Member
Posts: 1127
Veteran Member
    I'm transferring from GM11.1 to GM11.3 and need to capture the Employee value which isn't displayed on GM11.3 but is used to limit what's displayed.
    David Williams
    Ragu Raghavan
    Veteran Member
    Posts: 469
    Veteran Member
      I think values are transferred using Key Values in the .scr file. For instance in HR11, the .scr has an entry that looks like this:

      2 EMP-EMPLOYEE N 09 SL H07

      Any screen that has a field with the key number H07 will get passed the value when form transferred.
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        And how would I retrive these values? Thanks
        David Williams
        Ragu Raghavan
        Veteran Member
        Posts: 469
        Veteran Member
          You would treat it like any other screen field:

          for example to check if the employee filed is populated, in the PD

          (IF GM11F3-EMP-EMPLOYEE NOT = ZEROES)
          David Williams
          Veteran Member
          Posts: 1127
          Veteran Member
            Sorry for being so stupid here, but how would I assign the EMPLOYEE value to a variable within Design Studio. I'm not in the procedure division.
            David Williams
            Ragu Raghavan
            Veteran Member
            Posts: 469
            Veteran Member
              Opps. Did not realize this was Design Studio forum.
              I was thinking in 4GL terms.

              Mallaiah
              New Member
              Posts: 1
              New Member

                var sEmployee = lawForm.getDataValue("EMP-EMPLOYEE");
                You are not authorized to post a reply.