我能下载,只是打不开(编码不对)。
××××××××××××××××××××××××
integer i,j
string ls_path,ls_file
i=getfilesavename('下载文件',ls_path,ls_file,"xls","xls文件(*.xls),*.xls,"+"pdf 文件 (*.pdf), *.pdf")
if i=0 then
return
else
if i<>1 then
messagebox('消息','保存文件时出现错误!')
return
end if
end if
j=dw_record.saveasascii(ls_file)//是不是数据窗口错误了。
if j=1 then
messagebox('消息','保存成功!')
else
messagebox('消息','保存失败!')
end if