You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

[ |../../index.htm#lansa/lansa050_1430.htm]
現在地: RAMP-TSガイド > よくある質問 > RA (レコードの自動前進) フィールドの処理方法

RA (レコードの自動前進) フィールドの処理方法

 一部の 5250 アプリケーションでは、RA 入力属性 (レコードの自動前進) を持つフィールドを使用できます。このフィールドを表示するプログラムでは、ユーザーが最後の数値や文字を入力した時に、Enter キーが自動で押下されます。
 RAMP コレオグラファは、キーストロークに基づくこのような状況のスクリプトを自動生成できません。その代わりに次のような行が生成されます。
 
/* Set up data fields on form xxx */
SETVALUE("utxtMenuOption","");
/* Send the key required to navigate to xxx */
生成されたスクリプトを編集して、値と Enter キーの押下処理を次のように指定する必要があります。
/* Set up data fields on form xxx */
SETVALUE("utxtMenuOption","2");
/* Send the key required to navigate to xxx */
SENDKEY(KeyEnter);
 
 
[ |../../index.htm#lansa/lansa050_1430.htm]

  • No labels