如果沒有看到您正在使用的數據表或完整的腳本,我不能肯定地說,但我的猜測是第 4 行的 Column Switcher 消息沒有成功創建列切換器。 例如,如果第一個參數不是對 RAW_DATA_TABLE 中列的引用,則列切換器未成功創建,這意味著 Get List 無法返回列列表作為 N 項的參數。
確保 :Name( "Y" ) 返回您期望的列引用,並且 without_limits 是列引用列表。
大家好,
我正在嘗試製作一個集成平台鏈接的窗口,該窗口使得:
- 統計表,
- 和一個圖表
統計表和圖表基於用戶選擇,集成了列切換器。
最後,一切都與平台鏈接相連。
我根據兩個不同的列表進行了完全相同的編程。
其中之一運行得非常好。
然而,第二個,我收到這樣的消息:
“訪問或評估“N 個項目”時,Number of items() 參數必須是一個列表,...”

這是我的程序:
Current Data Table( RAW_DATA_TABLE );
New Window( "Test",
V List Box(
coltstst1 = RAW_DATA_TABLE << Column Switcher( :Name( "Y" ), without_limits ),
Cadreall1 = Tabulate(
Show Control Panel( 0 ),
Add Table(
Row Table( Analysis Columns( :"Y" ), Statistics( N ) ),
Row Table( Analysis Columns( :Date ), Statistics( Min, Max ) )
),
),
// Création des statistiques descriptives
graph1 = Control Chart Builder(
Size( 534, 450 ),
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Sort by Row Order( 1 ),
Show Limit Summaries( 0 ),
Variables( Subgroup( :Numéro de lot ), Y( "Y" ), Phase( :"Version" ) ),
Chart( Points( Statistic( "Individual" ) ), Limits( Sigma( "Moving Range" ), Show Lower Limit( 0 ), Show Upper Limit( 0 ) ) ),
SendToReport( Dispatch( {}, "Control Chart Builder", OutlineBox, {Set Title( "Représentation graphique" )} ) )
)
)
);
coltstst1 << Link Platform( table1 );
coltstst1 << Link Platform( Cadreall1 );
coltstst1 << Link Platform( graph1 );
ncols1 = N Items( coltstst1 << get list );
...知道問題所在嗎?
塞巴斯蒂安