我正在使用从不同页面中提取的代码,但我想在同一行中提取,此时每个提取都保存在新行中。
如何将提取的数据保存到同一行?
iimPlay("CODE:SET !EXTRACT {{town}} \nSAVEAS TYPE=EXTRACT FOLDER=* FILE=orders_{{!NOW:dd-mm-yyyy}}.csv");
iimPlay("CODE:SET !EXTRACT {{edu}} \nSAVEAS TYPE=EXTRACT FOLDER=* FILE=orders_{{!NOW:dd-mm-yyyy}}.csv");
答案 0 :(得分:0)
这样的事情:
iimPlay("CODE:SET !EXTRACT {{town}}");
var town = iimGetExtract();
iimPlay("CODE:SET !EXTRACT {{edu}}");
var edu = iimGetExtract();
iimSet("town", town);
iimSet("edu", edu);
iimPlay("CODE:SET !EXTRACT {{town}}[EXTRACT]{{edu}} \nSAVEAS TYPE=EXTRACT FOLDER=* FILE=orders_{{!NOW:dd-mm-yyyy}}.csv");