Screen does not react when selection is changed in instance list

RAMP-NL

Screen does not react when selection is changed in instance list


When an entry is selected in the instance list, the RAMP screen does not reflect this change and instead shows the data for the entry that was first selected.

When does this problem happen?

You recorded the invoke script of the destination screen, but you have not changed the value parameter of the SETVALUE Function from the recorded hardcoded value to a substitution value.

Another possible cause is that the value in the SETVALUE function has been enclosed in quotes in which case it is interpreted as a literal, not as a substitution value.

For example this example is wrong:

 

SETVALUE("UtxtMachine","objListManager.AKey1[0]"); 

 

Solution

Make the value parameter of the SETVALUE function a substitution value and make sure it is not surrounded by quotes:

  

SETVALUE("UtxtMachine", objListManager.AKey1[0]);

  

For more information:

·         Watch the tutorial movie Link the Selected Employee in the Instance List with the Display Employee Screen - 4 minutes

·         See the topic Interacting with Instance Lists in Scripts

·         See the topic Replacing Hardcoded Employee Number with Current Instance List Entry.