5250 画面の入力フィールドの値を設定します。インデックスを渡して、サブファイルの入力フィールドの値を設定します。
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
Setting by Name - #myscreen_wrapper.setvalue Infield(sFieldName) Value(vValue)
名前による設定:
InField | Char 256 - 必須 | 入力フィールドの名前を含む文字列 | |
|---|---|---|---|
Value | バリアント - 必須 | 値を含む文字列または数値 | |
Index | 整数 - 任意 | フィールドのサブファイル行を指定する整数
|
なし
値を設定できるのは、名前を付けられている入力フィールドのみです。
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)