我在Qlikview 11中的txt文件中存储了一个路径,将该路径存储在变量中的正确语法是什么?
找到的txt文件:C:\ Projects \ X \ Shared-COntent \ filepath.txt
txt文件的内容是网络路径
谢谢!
答案 0 :(得分:1)
您可以将txt文件作为普通表文件加载,然后查看加载的值。像这样:
NetowrkPath:
LOAD
@1 as NetworkPath
FROM
[C:\Projects\X\Shared-COntent\filepath.txt] (txt, utf8, explicit labels, delimiter is '\t', msq)
;
let vNetworkPath = peek('NetworkPath'); // <-- this is the variable that will contain the network path
Drop Table NetowrkPath;