473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

online excel presentation of data from database

Hi,
With ASP I store the result from form (textboxes and checkboxes) in a
Access 2000 database.
Now I want to use a Excel worksheet for presenting the data. What I
want is partly to online present the data, and partly to be able to
print the sheet.
As I understan I have to start with a HTML-table and use <%
Response.ContentType = "application/vnd.ms-excel" %>
Right?

But then I want to do the following:
1) go to day = E:9 – K:9
2) go to cell E:9
3) Is the content of this cell = = yesterday?
if Yes -> go to next cell in day
if No -> <% Response.Write = rs("dat") %>
4) go to type = B:17 - 36
5) check B:17
6) Is rs("dat") = = yesterday AND the content of B:17= = rs("namne")
If Yes -> a) go to that cell in day where the content = =
yesterday
b) go vertically down to cell 17
c) Response.Write rs("mgd")

if No -> a) in cell B:17 Response.Write rs("namne")
b) go to that cell in day where the content = = yesterday
c) go vertically down to cell 17
d) Response.Write rs("mgd")
7) move to next rs("Namn") where rs("dat") = = yesterday
8) Repeat from 6 to 7
9) continue through rs

Any help will be appriciated
/Peter
Jul 19 '05 #1
3 1621
I don't think that you cna do this, you may be able to script something -
see http://www.greggriffiths.org/webdev/both/excel/ for some links &
code. Probably your best bet may be to use Flash or a WebEx type recorded
session to just play what oyu have done.

farsta_online wrote:
Hi,
With ASP I store the result from form (textboxes and checkboxes) in a
Access 2000 database.
Now I want to use a Excel worksheet for presenting the data. What I
want is partly to online present the data, and partly to be able to
print the sheet.
As I understan I have to start with a HTML-table and use <%
Response.ContentType = "application/vnd.ms-excel" %>
Right?

But then I want to do the following:
1) go to day = E:9 – K:9
2) go to cell E:9
3) Is the content of this cell = = yesterday?
if Yes -> go to next cell in day
if No -> <% Response.Write = rs("dat") %>
4) go to type = B:17 - 36
5) check B:17
6) Is rs("dat") = = yesterday AND the content of B:17= = rs("namne")
If Yes -> a) go to that cell in day where the content = =
yesterday
b) go vertically down to cell 17
c) Response.Write rs("mgd")

if No -> a) in cell B:17 Response.Write rs("namne")
b) go to that cell in day where the content = = yesterday
c) go vertically down to cell 17
d) Response.Write rs("mgd")

7) move to next rs("Namn") where rs("dat") = = yesterday
8) Repeat from 6 to 7
9) continue through rs

Any help will be appriciated
/Peter


Jul 19 '05 #2
sure you can do it
"Greg Griffiths" <gr***@surfaid.org> wrote in message
news:40***************@surfaid.org...
I don't think that you cna do this, you may be able to script something -
see http://www.greggriffiths.org/webdev/both/excel/ for some links &
code. Probably your best bet may be to use Flash or a WebEx type recorded
session to just play what oyu have done.

farsta_online wrote:
Hi,
With ASP I store the result from form (textboxes and checkboxes) in a
Access 2000 database.
Now I want to use a Excel worksheet for presenting the data. What I
want is partly to online present the data, and partly to be able to
print the sheet.
As I understan I have to start with a HTML-table and use <%
Response.ContentType = "application/vnd.ms-excel" %>
Right?

But then I want to do the following:
1) go to day = E:9 - K:9
2) go to cell E:9
3) Is the content of this cell = = yesterday?
if Yes -> go to next cell in day
if No -> <% Response.Write = rs("dat") %>
4) go to type = B:17 - 36
5) check B:17
6) Is rs("dat") = = yesterday AND the content of B:17= = rs("namne")
If Yes -> a) go to that cell in day where the content = =
yesterday
b) go vertically down to cell 17
c) Response.Write rs("mgd")

if No -> a) in cell B:17 Response.Write rs("namne")
b) go to that cell in day where the content = = yesterday
c) go vertically down to cell 17
d) Response.Write rs("mgd")

7) move to next rs("Namn") where rs("dat") = = yesterday
8) Repeat from 6 to 7
9) continue through rs

Any help will be appriciated
/Peter

Jul 19 '05 #3
care to provide a code sample, I'd be interested to see a solution.

Emanuelle wrote:
sure you can do it
"Greg Griffiths" <gr***@surfaid.org> wrote in message
news:40***************@surfaid.org...
I don't think that you cna do this, you may be able to script something -
see http://www.greggriffiths.org/webdev/both/excel/ for some links &
code. Probably your best bet may be to use Flash or a WebEx type recorded
session to just play what oyu have done.

farsta_online wrote:
Hi,
With ASP I store the result from form (textboxes and checkboxes) in a
Access 2000 database.
Now I want to use a Excel worksheet for presenting the data. What I
want is partly to online present the data, and partly to be able to
print the sheet.
As I understan I have to start with a HTML-table and use <%
Response.ContentType = "application/vnd.ms-excel" %>
Right?

But then I want to do the following:
1) go to day = E:9 - K:9
2) go to cell E:9
3) Is the content of this cell = = yesterday?
if Yes -> go to next cell in day
if No -> <% Response.Write = rs("dat") %>
4) go to type = B:17 - 36
5) check B:17
6) Is rs("dat") = = yesterday AND the content of B:17= = rs("namne")
If Yes -> a) go to that cell in day where the content = =
yesterday
b) go vertically down to cell 17
c) Response.Write rs("mgd")

if No -> a) in cell B:17 Response.Write rs("namne")
b) go to that cell in day where the content = = yesterday
c) go vertically down to cell 17
d) Response.Write rs("mgd")

7) move to next rs("Namn") where rs("dat") = = yesterday
8) Repeat from 6 to 7
9) continue through rs

Any help will be appriciated
/Peter


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Andrew Dalke | last post by:
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. ...
2
by: cpeters5 | last post by:
Deaa group, I am using SQLServer 2000 in an XP Sp2. I would like to do the following: I have a program running on a database server that generates some data which are loaded to the database....
0
by: Yiyu | last post by:
Hi, I am a newbie here. Here what I want to do and I wonder if it's easy to be achieved using Windows Presentation Foundation: I am going to teach a college course and I want to do real time...
2
by: Riak | last post by:
Hellow Helpers: I am doing data entry job manually and data is huge. Now I was told to write/get some sort of program/script which can do this job quickly, otherwise I will loose job. I am good...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.