取得 Rows() 不起作用我有
row_nums = data << Get Rows Where( num(data:"Donor") == i & data:"A or B" == "A");
d_A_rows = data << Get Rows(row_nums);
Write(d_A_rows);
但它仍然寫入行號而不是實際的行內容。我遺漏了什麼嗎?
消費者與市場研究內容組織資料混合與清理回复:獲取行()不工作謝謝。 這非常有效,並且在教育我有關坐標索引表方面也非常精闢。回复:獲取行()不工作你好,
你可以這樣做:
row_nums = data << Get Rows Where( Num( data:"Donor" ) == i & data:"A or B" == "A" );
Write( data[row_nums, 0] );
一旦你在 row_nums 中有了你需要的行號,你就可以直接使用語法 table[row,col] 索引表(我假設它被命名為數據)。 在您的情況下,row_nums 是您想要的行,0 表示獲取所有列。
乾杯,
布雷迪