Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Show Contents List

...

Script

...

interactions

...

with

...

an

...

instance

...

list

...

are

...

done

...

by

...

accessing

...

properties

...

of

...

the

...

Framework

...

JavaScript

...

object

...

named

...

objListManager

...

(the

...

list

...

manager).  

...

For

...

example

...

a

...

script

...

that

...

displays

...

a

...

screen

...

showing

...

the

...

details

...

of

...

an

...

employee

...

uses

...

the

...

objListManager

...

in

...

the

...

SETVALUE

...

command

...

to

...

set

...

the

...

employee

...

to

...

the

...

selected

...

entry

...

in

...

the

...

instance

...

list:

...

/*

...

Check

...

for

...

arrival

...

at

...

uFindEmployee

...

*/

...


if

...

(

...

!(CHECK_CURRENT_FORM("uFindEmployee","Unable

...

to

...

navigate

...

to

...

form

...

uFindEmployee"))

...

)

...

return;

...



/*

...

Set

...

the

...

employee

...

to

...

be

...

displayed

...

to

...

the

...

employee

...

selected

...

in

...

the

...

*/

...


/*

...

instance

...

list

...

(which

...

is

...

identified

...

by

...

the

...

programmatic

...

identifier

...

AKey3)

...

*/

...


SETVALUE("utxtEmployeeCode",objListManager.AKey3

...

[0

...

]);

...



/*

...

Send

...

the

...

key

...

required

...

to

...

navigate

...

to

...

uDisplayEmployee

...

*/

...


SENDKEY(KeyEnter);

...


See Also

objListManager

Replacing Hardcoded Employee Number with Current Instance List Entry