#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    2
    Rep Power
    0

    dynamic export to excel from web


    hi there,

    this is my first time really using DTS packages and am trying to export some data to an excel file through a jsp page. This isn't my main problem tho...

    the main problem is that i've coded the activeX script to dynamically name the file, as well as add the column headings in the excel file. The problem arises when I go to the data transform task and in the Destination tab, I can't select the worksheet that my code apparently creates.

    Naturally it won't run because it will return me an error saying that the destination doesn't exist.

    Any thoughts?

    Thanks in advance.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    7
    Rep Power
    0

    Question


    sounds like the same think in asp is <%Response.ContentType = "application/vnd.ms-excel"%> to export a recordset to excel, maybe try something similar?

    good luck.
  4. #3
  5. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    538

IMN logo majestic logo threadwatch logo seochat tools logo