In this step you will add the code to populate the list view.
1.   Display the source code of the screen wrapper.
2.   Locate the #myscreen_wrapper.RampTSAvailable event routine and add this code to clear the fields and the subfile on it when the screen arrives:
Clr_List Named(#skills)
#XG_HEAD := *null
 
Your code should look like this:

 
3.   Add the following method routine to the end of your screen wrapper source:
Mthroutine Name(uGetSubfilePage)
 
Define_Map For(*result) Class(#prim_boln) Name(#NextPage)
Define Field(#MoreVal) Type(*char) Length(1)
 
#listcount := 1
#NextPage := false
 
Dowhile (#myscreen_wrapper.check_field_exists( "dateacq" #listcount ))
 
#myscreen_wrapper.getvalue From("dateacq") Value(#vf_eltxts) Defaultvalue(#ddmmyy) Index(#listcount)
#myscreen_wrapper.getvalue From("skillcode") Value(#skilcode) Index(#listcount)
#myscreen_wrapper.getvalue From("skilldesc") Value(#skildesc) Index(#listcount) Defaultvalue("Defalt value")
#myscreen_wrapper.getvalue From("comment") Value(#comment) Index(#listcount)
#myscreen_wrapper.getvalue From("grade") Value(#grade) Index(#listcount)