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 1929
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******@hotma il.com> wrote in message
news:ey******** ******@TK2MSFTN GP11.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*****@dnartr eb.noraa> wrote in message
news:OJ******** *****@TK2MSFTNG P12.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******@hotma il.com> wrote in message news:ey******** ******@TK2MSFTN GP11.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******@hotma il.com> wrote in message
news:eP******** ******@TK2MSFTN GP10.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*****@dnartr eb.noraa> wrote in message news:OJ******** *****@TK2MSFTNG P12.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******@hotma il.com> wrote in message news:ey******** ******@TK2MSFTN GP11.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*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP11.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******@hotma il.com> wrote in message
news:uk******** ******@TK2MSFTN GP10.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*****@dnartr eb.noraa> wrote in message news:%2******** ********@TK2MSF TNGP11.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******@hotma il.com> wrote in message
news:ey******** ******@TK2MSFTN GP11.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*****@dnartr eb.noraa> wrote in message
news:uN******** ******@tk2msftn gp13.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******@hotma il.com> wrote in message news:uk******** ******@TK2MSFTN GP10.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*****@dnartr eb.noraa> wrote in message news:%2******** ********@TK2MSF TNGP11.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******@hotma il.com> wrote in message
news:Ot******** *****@TK2MSFTNG P11.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*****@dnartr eb.noraa> wrote in message news:uN******** ******@tk2msftn gp13.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******@hotma il.com> wrote in message news:uk******** ******@TK2MSFTN GP10.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*****@dnartr eb.noraa> wrote in message news:%2******** ********@TK2MSF TNGP11.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 > >
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 and extract
information from specific worksheets and cells.
I'm not really sure how to get started with this process.
I ran the COM Makepy...
|
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 (MyXL). It uses the worksheet's
Application property to make Microsoft Excel visible, to close it, and
so on. Using two API calls, the DetectExcel Sub...
|
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# application. It seems simple enough, but the problem I'm
encountering is as follows:
In order for the user to select the cell from Excel, they must first...
|
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 SQL DATABASE, probably by the click of a
button.
Is this possible? & what is the BEST APPROACH for doing this? & also if any
links are there do...
|
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 reproduce the behavior described below?
For this example, I am using Excel 2002 and VS .NET 2002 and VB 6.
MSFT KB article 304661 gives a trivial...
| |
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 Excel.Application
Dim ExcelWB As Excel.Workbook
|
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 (no database!)with some titles and info,
is entered in the worksheet in a printable format.
This is some of the code...
Public exlAppl As...
|
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 System.Collections.Generic.List<frmMain.sDBTest>
LoadTestSet(string TestSetFile,
System.Collections.Generic.List<frmMain.sDBTestDBviewList)
|
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 TypeOf obj Is IDisposable Then
DirectCast(obj, IDisposable).Dispose()
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |