473,395 Members | 1,348 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,395 software developers and data experts.

Huge challenge in retrieve data using ASP

Hi

I'm developing a hierachy system that needs display data from a database,
summing from the lowest level up. The difficulty is, there are also multiple
columns across, I'll try to show it below:

col1 col2
col3 col4 col5
Level1
Level1.2
Level1.3
Item1
Item2
Item3
Level2
Level2.2
Level2.3
Item1
Item2
Item3

What I've tried to draw above is best to think of as sort of a spreadsheet.
Each value of the items at Level1.3 should be summed at Level1.3 and each
LevelX.3 should sum to the level above. Preferably the whole thing should be
collapsable in the browser, but thats another thing. The data that comes
from the database is at the Item level (each Item represents a record in the
table holding the fields col1, col2, col3, col4, col5).

I hope this makes sense to someone out here, because I doesn't to me
anymore! Please help me out here...

Thanks
Jul 19 '05 #1
2 2339
It sounds a little bit like you're trying to do a normal level break report
but I can't tell from your description. Maybe these will help:

Check out Morten's Javascript Tree Menu at --
http://www.treemenu.com/

Check out the 'GROUP BY' clause for your SQL. It may also help to get
things close to what you need. Otherwise, you'll just be handling the
totalling yourself in the code.
Jul 19 '05 #2
Thanks Mark! I think it is a level breakdown report, but my difficulty
is that I have to do it bottom up. I also looked at Tree Menu, which is
a good piece of software, but in my solution the menu-item must have
multiple columns across to show the values sort of like this:

Item col1 col2 col3 col4 col5
xxx val1 val2 val3 val4 val5

and since Tree Menu uses another frame to display the content, I will
not align properly with the menu item.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

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

Similar topics

53
by: john67 | last post by:
The company I work for is about to embark on developing a commercial application that will cost us tens-of-millions to develop. When all is said and done it will have thousands of business...
15
by: barbaros | last post by:
Hello everybody, I need some advice on the following problem. I want to write a program (in C or C++) which will build a huge dictionary (hash array, if you prefer). The keys are strings, the...
3
by: dpriver | last post by:
I have to initialize a huge constant array of structures(60000~100000), used as a lookup table , but it failed with System.InvalidProgramException when the items reach 18400. and if I change the...
1
by: CDARS | last post by:
Dear all, I am working on a re-development project. The objective is to replace an old "system", which make use of local MS Excel, with a new web-based application. Platform: SQL2K, Windows...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
5
by: adhag | last post by:
Hi I am faced with quite a challenge. I need to open a 70-100 meg file and be able to chunk it out using AJAX back to the client but that isn't my problem really. What I need to do is open the...
12
by: Jeff Calico | last post by:
I have 2 XML data files that I want to extract data from simultaneously and transform with XSLT to generate a report. The first file is huge and when XSLT builds the DOM tree in memory, it runs...
3
by: Phill W. | last post by:
OK, I've asked nicely before; now I'm going to throw down the gauntlet to anyone brave enough to take it up. In VB'2005, can anyone write me a class that inherits from System.Data.DataTable, add...
3
by: SUMMANANA | last post by:
Hi php Grop members.. I am one of the php programmer holding as a next to beginners level. I got one new site like yellow pages. I need to store more that 10 lakhs of information as well as i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.