Page History
...
UFRTS03_D1 | Name |
|---|---|
UFRTS03_D2 | Address |
UFRTS03_D3 | HR Details |
| Wiki Markup |
|---|
|
4. Modify the script of the UFRTS03_R1. You need to change the SETVALUE so that the commands will be shown for the employee selected in the instance list.
case "UFRTS03_D1":
\{
/* Set up data fields on form UFRTS03_R1 */
SETVALUE("EmpNo",<span style="color: #3366ff"><strong>objListManager.AKey1</strong></span>\[0\]);
SENDKEY(KeyEnter);
/* Check for arrival at UFRTS03_D1 */
Q_CHECK_CURRENT_FORM("UFRTS03_D1","Unable to navigate to form UFRTS03_D1");
\}
break;
You may want to review [<span style="color: #0000ee"><span style="text-decoration: underline; ">RAMP-WIN006 Step 2. Change the Script to Use the Current Instance List Entry</span></span>|lansa050_0300.htm#_Ref223679309].
5. Save and restart the Framework.
When you display an employee the command tabs should now look like this:
!worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!
Notice that you can display the three 5250 screens in any combination.
You may have to trace and modify your scripts, or even demonstrate new navigations to get this example to function correctly. This is a normal part of scripting 5250 screen interactions. You should persist with doing this until all three screens function correctly. Previously completed tutorials should have equipped you with the skills required to debug your scripts until they function correctly.
[<span style="color: #0000ee"><span style="text-decoration: underline; ">Show Contents List</span></span>|../../index.htm#lansa/lansa050_0720.htm] |