Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Added |../../index.htm#lansa/selectlist_e.htm]
現在地:

Anchor
_Ref428889757
_Ref428889757
Anchor
_

...

Toc139468844
_

...

Toc139468844
7.108.2 SELECTLIST の使用例

例1:#ORDERLINEというリストの、「変更された」項目をすべて処理します。リストおよびリスト処理の詳細については、DEF_LISTコマンドのセクションを参照してください。
SELECTLIST NAMED(#ORDERLINE) GET_ENTRYS(*ALTERED)       << Commands to process the list >>       << Commands to process the list >>       << Commands to process the list >> ENDSELECT  
例2:#ORDERLINEというリストの、「選択された」項目をすべて処理します。
SELECTLIST NAMED(#ORDERLINE) GET_ENTRYS(*SELECT)       << Commands to process the list >>       << Commands to process the list >>       << Commands to process the list >> ENDSELECT  
例3:作業リスト#ORDERLINEの、数量が0より大きい項目をすべて処理します。
SELECTLIST NAMED(#ORDERLINE) WHERE('#QUANTITY *GT 0')       << Commands to process the list >>       << Commands to process the list >>       << Commands to process the list >> ENDSELECT  
[ Image Added |../../index.htm#lansa/selectlist_e.htm]