This is a follow up question from my post a couple of days ago, two setps forward and one back it seems at the moment :-(.
I am able to download an Excel file created by my web-app to a local PC and my Anroid tablet. Expected bebehavious, confirm download, save etc. and when downloaded the file saves, and asks you whether to open to view (as excel installed on tablet and PC).
I have tried the same on ipad which also has excel installed and it doesn’t open the file, or indeed download it.
The first thing it does is ask about saving the password for the page - i select ‘Not Now’ and then it gives me a blank pwith ‘An Error Occurred’ and ‘null’ on it.
What extra steps need to be carried out to ensure the same result on an ipad? Can it be done?
ipad is running default safari browser and latest version of iOS.
dnload is a webfile property of the page
[code]
if book.Save(file) then
//not sure if this mime type required but seems reasonable
dnload.MimeType = “application/vnd.ms-excel”
dnload.ForceDownload = True
dnload = WebFile.Open(file)
ShowURL(dnload.URL)
else
MsgBox “Failed to create file.”+EndOfLine+EndOfLine+book.ErrorMessage
end if[/code]