以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  请教报表保存路径  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=130223)

--  作者:weipeng6999
--  发布时间:2019/1/16 11:28:00
--  请教报表保存路径
老师好!现在报表保存在Reports文件夹下
Dim fl As String = ProjectPath & "Reports\\提货单"& tables("开票指令").current("日期")&".xlsx",

我想改为其他文件夹可以吗?
Dim fl As String = ProjectPath & "c:\\提货单\\提货单"& tables("开票指令").current("日期")&".xlsx"
改后为非法路径。请指教。


[此贴子已经被作者于2019/1/16 11:42:13编辑过]

--  作者:有点甜
--  发布时间:2019/1/16 11:48:00
--  

改成这样

 

Dim fl As String = "c:\\提货单\\提货单" & tables("开票指令").current("日期") & ".xlsx"