5250 画面の入力フィールドの値を設定します。インデックスを渡して、サブファイルの入力フィールドの値を設定します。
構文
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
Setting by Name - #myscreen_wrapper.setvalue Infield(sFieldName) Value(vValue)
パラメータ
名前による設定:
|
戻り値
なし
備考
値を設定できるのは、名前を付けられている入力フィールドのみです。
例:
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.setvalue Infield(GIVENAME) Value(#Givename)
* Set the value of a field in the 3rd row of the current subfile page
#myscreen_wrapper.setvalue Infield(SFL_OPTION) Value(#SelOption) Index(3)