当前位置: 代码迷 >> Lotus >> @picklist返回值,该怎么处理
  详细解决方案

@picklist返回值,该怎么处理

热度:81   发布时间:2016-05-05 07:16:21.0
@picklist返回值
@picklist中如果不放参数single,得到的返回值会是一个数组,怎么样能得到这个数组中的每个元素?大大们多多帮帮忙啊


------解决方案--------------------
帮助的例子中都有,假设域名或数组名是nlist,
@for(i:=1;i<@elements(nlist);i:=i+1;nlist[n])
------解决方案--------------------
[email protected],在example中的第一个例子,
1. This formula displays the Products view of PROD.NSF in a dialog box. If the user selects a Staple remover and Stapler from the products view, the temporary variable choice gets assigned the following text list: Staple remover; Stapler

choice:[email protected]( [CUSTOM] ; "" ; "Products" ; "Select a product" ; "Please select the products you want to order" ; 1 );

可以知道,如果用户在notes中多选了,则得到的多个返回值之间是以";"分隔的,
[email protected]@left对返回值进行分割即可以得到返回的各个值。
  相关解决方案