Here's my situation.
I need on-site manager's to be able to view a list of records on our website
(which they already can do). They need to be able to select any/all fields
and then export these items to an excel spreadsheet. The spreadsheet will
have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this before, but
it's been a long time and I can't remember if there's a way to handle this
kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or should I
stick with a more SQL based approach?
Thanks,
James 11 1916
If you can export to CSV and have them import CSV into Excel (rather than
create an actual Office document), you can use methods described here: http://www.aspfaq.com/2482
-- http://www.aspfaq.com/
(Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our
website (which they already can do). They need to be able to select any/all
fields and then export these items to an excel spreadsheet. The spreadsheet will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this before,
but it's been a long time and I can't remember if there's a way to handle this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or should
I stick with a more SQL based approach?
Thanks, James
Thanks for the link, searched there and didn't find that. I'll run that
concept by my boss, but in the very likely event that they want this to be
seemless, do I have any other options? Why people want everything in excel
is beyond me =).
Thanks!
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:OJ*************@TK2MSFTNGP12.phx.gbl... If you can export to CSV and have them import CSV into Excel (rather than create an actual Office document), you can use methods described here:
http://www.aspfaq.com/2482
-- http://www.aspfaq.com/ (Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export these items to an excel spreadsheet. The spreadsheet
will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this before, but it's been a long time and I can't remember if there's a way to handle
this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or
should I stick with a more SQL based approach?
Thanks, James
I failed to mention we're using SQL 7...which might come into play as it
seems that SQL 2000 had some DTS upgrades.
James
"James Baker" <cp******@hotmail.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl... Thanks for the link, searched there and didn't find that. I'll run that concept by my boss, but in the very likely event that they want this to be seemless, do I have any other options? Why people want everything in
excel is beyond me =).
Thanks! "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:OJ*************@TK2MSFTNGP12.phx.gbl... If you can export to CSV and have them import CSV into Excel (rather
than create an actual Office document), you can use methods described here:
http://www.aspfaq.com/2482
-- http://www.aspfaq.com/ (Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export these items to an excel spreadsheet. The spreadsheet will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this
before, but it's been a long time and I can't remember if there's a way to handle this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or
should I stick with a more SQL based approach?
Thanks, James
> Thanks for the link, searched there and didn't find that. I'll run that concept by my boss, but in the very likely event that they want this to be seemless, do I have any other options?
I don't understand what's not seamless. They download a CSV file, or they
download an XLS file. If they double-click it, unless they have changed
their settings, both should open in Excel. If they go to File... Open and
open the file, both will open in Excel.
A
For some reason, when I do that...and I try to open it with Excel, I get the
error "Microsft Excel can't load the required converter. This feature is
not currently installed. Would you like to install it now?". Yet, if I
click no...it still loads the file. I tried installing it, but it keeps
asking for "Microsoft Office 2000 Premium". No idea why, I'm running Office
XP.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Thanks for the link, searched there and didn't find that. I'll run that concept by my boss, but in the very likely event that they want this to
be seemless, do I have any other options?
I don't understand what's not seamless. They download a CSV file, or they download an XLS file. If they double-click it, unless they have changed their settings, both should open in Excel. If they go to File... Open and open the file, both will open in Excel.
A
Don't know, I don't have any problems loading CSV files directly.
Might want to run through Office XP setup and make sure you didn't do a
barebones install without any text converters...
-- http://www.aspfaq.com/
(Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message
news:uk**************@TK2MSFTNGP10.phx.gbl... For some reason, when I do that...and I try to open it with Excel, I get
the error "Microsft Excel can't load the required converter. This feature is not currently installed. Would you like to install it now?". Yet, if I click no...it still loads the file. I tried installing it, but it keeps asking for "Microsoft Office 2000 Premium". No idea why, I'm running
Office XP.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... Thanks for the link, searched there and didn't find that. I'll run
that concept by my boss, but in the very likely event that they want this
to be seemless, do I have any other options?
I don't understand what's not seamless. They download a CSV file, or
they download an XLS file. If they double-click it, unless they have changed their settings, both should open in Excel. If they go to File... Open
and open the file, both will open in Excel.
A
"James Baker" <cp******@hotmail.com> wrote in message
news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our
website (which they already can do). They need to be able to select any/all
fields and then export these items to an excel spreadsheet. The spreadsheet will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this before,
but it's been a long time and I can't remember if there's a way to handle this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or should
I stick with a more SQL based approach?
You could also try this ... http://support.microsoft.com/?kbid=301044
--
Tom Kaminski IIS MVP http://www.microsoft.com/windowsserv...y/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://www.tryiis.com
That problem aside...I think the ultimate goal (which I'm going to clarify
shortly) is to be able to e-mail the *.xls files to clients. As arbitrary
as it might sound, I really don't think that some of these managers could
figure out to how to do a file > save as and change the drop down to a *.xls
file as opposed to the CSV extension. We'll see.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:uN**************@tk2msftngp13.phx.gbl... Don't know, I don't have any problems loading CSV files directly.
Might want to run through Office XP setup and make sure you didn't do a barebones install without any text converters...
-- http://www.aspfaq.com/ (Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message news:uk**************@TK2MSFTNGP10.phx.gbl... For some reason, when I do that...and I try to open it with Excel, I get the error "Microsft Excel can't load the required converter. This feature
is not currently installed. Would you like to install it now?". Yet, if I click no...it still loads the file. I tried installing it, but it keeps asking for "Microsoft Office 2000 Premium". No idea why, I'm running Office XP.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... > Thanks for the link, searched there and didn't find that. I'll run that > concept by my boss, but in the very likely event that they want this to be > seemless, do I have any other options?
I don't understand what's not seamless. They download a CSV file, or they download an XLS file. If they double-click it, unless they have
changed their settings, both should open in Excel. If they go to File... Open and open the file, both will open in Excel.
A
Same question... why do clients need XLS files? In fact, most of our
clients don't WANT xls files. Two main reasons: different versions of
Excel, and they also can use CSV much easier for importing into other
systems...
-- http://www.aspfaq.com/
(Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message
news:Ot*************@TK2MSFTNGP11.phx.gbl... That problem aside...I think the ultimate goal (which I'm going to clarify shortly) is to be able to e-mail the *.xls files to clients. As arbitrary as it might sound, I really don't think that some of these managers could figure out to how to do a file > save as and change the drop down to a
*.xls file as opposed to the CSV extension. We'll see.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:uN**************@tk2msftngp13.phx.gbl... Don't know, I don't have any problems loading CSV files directly.
Might want to run through Office XP setup and make sure you didn't do a barebones install without any text converters...
-- http://www.aspfaq.com/ (Reverse address to reply.)
"James Baker" <cp******@hotmail.com> wrote in message news:uk**************@TK2MSFTNGP10.phx.gbl... For some reason, when I do that...and I try to open it with Excel, I
get the error "Microsft Excel can't load the required converter. This feature is not currently installed. Would you like to install it now?". Yet, if
I click no...it still loads the file. I tried installing it, but it
keeps asking for "Microsoft Office 2000 Premium". No idea why, I'm running Office XP.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... > > Thanks for the link, searched there and didn't find that. I'll
run that > > concept by my boss, but in the very likely event that they want
this to be > > seemless, do I have any other options? > > I don't understand what's not seamless. They download a CSV file,
or they > download an XLS file. If they double-click it, unless they have changed > their settings, both should open in Excel. If they go to File...
Open and > open the file, both will open in Excel. > > A > >
Very nice...looks good so far. Thanks much, barring anything unforseen,
this should be the ticket.
Thanks!
James
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:ca*********@kcweb01.netnews.att.com... "James Baker" <cp******@hotmail.com> wrote in message news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export these items to an excel spreadsheet. The spreadsheet
will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this before, but it's been a long time and I can't remember if there's a way to handle
this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or
should I stick with a more SQL based approach? You could also try this ... http://support.microsoft.com/?kbid=301044
-- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserv...y/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS http://www.tryiis.com
.... and you can use this technique to give the file an "xls" file name: http://www.aspfaq.com/show.asp?id=2129
"James Baker" <cp******@hotmail.com> wrote in message
news:Oq**************@TK2MSFTNGP11.phx.gbl... Very nice...looks good so far. Thanks much, barring anything unforseen, this should be the ticket.
Thanks! James
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message news:ca*********@kcweb01.netnews.att.com... "James Baker" <cp******@hotmail.com> wrote in message news:ey**************@TK2MSFTNGP11.phx.gbl... Here's my situation.
I need on-site manager's to be able to view a list of records on our website (which they already can do). They need to be able to select any/all fields and then export these items to an excel spreadsheet. The spreadsheet will have dynamically created columns/rows to append and life is good.
What's the best way to go about this? I've used DTS to do this
before, but it's been a long time and I can't remember if there's a way to handle this kind of stuff on a dynamic basis.
I guess my real question is: Is there a way to do this via ASP or
should I stick with a more SQL based approach?
You could also try this ... http://support.microsoft.com/?kbid=301044
-- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserv...y/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS http://www.tryiis.com
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Allison Bailey |
last post by:
Hi Folks,
I'm a brand new Python programmer, so please point me in the right
direction if this is not the best forum for this question....
I would like to open an existing MS Excel spreadsheet...
|
by: Otie |
last post by:
I found the following under the GetObject help notes and in the
example for GetObject:
"This example uses the GetObject function to get a reference to a
specific Microsoft Excel worksheet...
|
by: Matthew Wieder |
last post by:
I have the following requirements:
Build a stand-alone C# application that asks the user to click in a cell
in an Excel spreadsheet, and then displays the address of that cell in
the C#...
|
by: pmud |
last post by:
Hi,
I need to use an Excel Sheet in ASP.NET application so that the users can
enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever
the USER ENETRS needs to go to the...
|
by: Howard Kaikow |
last post by:
There's a significant problem in automating Excel from VB .NET.
Reminds me of a problem I encountered almost 3 years ago that was caused by
the Norton Auntie Virus Office plug-in.
Can anybody...
|
by: Anthony |
last post by:
To me, creating Excel 2003 spreadsheets programmatically via VB.NET hasn't
really changed since the days of VB6.
That is, I'd do something similar to this
Code:
Dim ExcelApp As...
|
by: Alain \Mbuna\ |
last post by:
Hi everybody.
In my program I have some data that is calculated after some input from the
user. I have written some code that opens an Excel workbook, with 5
worksheets and the calculated data...
|
by: alexia.bee |
last post by:
Hi all,
In some weird reason, excel instance won;t die if i remove the comment
from 4 lines of setting values into struct.
here is a snipcode
public...
|
by: Doug Glancy |
last post by:
I got the following code from Francesco Balena's site, for disposing of Com
objects:
Sub SetNothing(Of T)(ByRef obj As T)
' Dispose of the object if possible
If obj IsNot Nothing AndAlso...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |