Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFContent question

Status
Not open for further replies.

NoWayIsThisInUse

IS-IT--Management
Jul 16, 2002
79
US
I am creating reports that output as either html or to Excel. If the user checks the &quot;Output to Excel format&quot; checkbox, I use <cfcontent type=&quot;application/vnd.ms-excel&quot; reset=&quot;Yes&quot;> to display it as a spreadsheet (in the browser). This seems to work fine on most computers. All users are using IE, but versions vary from 5.0 and up. Some users have Office 2000 loaded, some having '97 (although I wouldn't think that would be the problem).
The user is presented with a dialog box to &quot;Open from...&quot; or to &quot;Save to...&quot; when it works correctly; otherwise, it seems to have an application error such as &quot;Floating field...&quot;. Any suggestions?
 
hi,
you must know that CFContent will only change the &quot;Content-type&quot; of the HTTP header.
So the problem is client side, you should check if there's no missing component for embedding excel into the browser.
Try also other MIME into CFContent such as &quot;application/msexcel&quot;, maybe it will not call the same version of the spreadsheet object..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top