将txt文件中的内容存储到qlikview中的变量中
store content in txt file into a variable in qlikview
我在 Qlikview 11 的 txt 文件中存储了一个路径,将该路径存储在变量中的正确语法是什么?
txt 文件位于:C:\Projects\X\Shared-COntent\filepath.txt
txt文件内容为网络路径
谢谢!
您可以将 txt 文件作为普通 table 文件加载,然后查看加载的值。像这样:
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;
我在 Qlikview 11 的 txt 文件中存储了一个路径,将该路径存储在变量中的正确语法是什么?
txt 文件位于:C:\Projects\X\Shared-COntent\filepath.txt
txt文件内容为网络路径
谢谢!
您可以将 txt 文件作为普通 table 文件加载,然后查看加载的值。像这样:
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;