473,396 Members | 2,111 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.

suggest me the right approach

i have a table say ABC.
This table has columns

SECTOR....ITEM YEAR VALUE
_______... ____ _____ ______
CV.......... COL.......1995......1
CV...........COL.......1996......4
CV...........COL.......1997......3
CV...........ELE.......1995......2
CV......... .ELE.......1996......2
CV...........ELE.......1997......4
CV...........DUE.......1995......2
CV...........DUE.......1996......4
CV...........DUE.......1997......5
AL...........COL........1995......2
AL...........COL........1996......3
AL...........COL........1997......2
AL...........ELE........1995......4
AL...........ELE........1996......4
AL...........ELE........1997......1
AL...........DUE........1995......3
AL...........DUE........1996......2
AL...........DUE........1997......3
ZN...........COL........1995......2
ZN...........COL........1996......2
ZN...........COL........1997......1
ZN...........ELE........1995......4
ZN...........ELE........1996......3
ZN...........ELE........1997......2
ZN...........DUE....... 1995......4
ZN...........DUE........1996.....4
ZN...........DUE........1997......4

i want to display the output to the user on the form as below(i just used dots to make the format well, so dont consider dots).

per each sector(CV,AL,ZN), there will be 3 Items(COL,ELE,DUE).
i want to display the output per year and per sector as below




YEAR......................CV...........................AL.......................... ZN.............
...................COL.... ELE... DUE......COL...ELE....DUE.......COL...ELE...DUE

1995...........1...........2.........2..........2. .........4............3............2........4..... ..4...
1996...........4...........2.........4..........3. .........4............2............2........3..... ..4...
1997...........3...........4.........5..........2. .........1............3............1........2..... ..4...



please suggest me the best approach.
which controls should i use in the form?
Aug 10 '07 #1
2 1008
fplesco
82
i have a table say ABC.
This table has columns

SECTOR....ITEM YEAR VALUE
_______... ____ _____ ______
CV.......... COL.......1995......1
CV...........COL.......1996......4
CV...........COL.......1997......3
CV...........ELE.......1995......2
CV......... .ELE.......1996......2
CV...........ELE.......1997......4
CV...........DUE.......1995......2
CV...........DUE.......1996......4
CV...........DUE.......1997......5
AL...........COL........1995......2
AL...........COL........1996......3
AL...........COL........1997......2
AL...........ELE........1995......4
AL...........ELE........1996......4
AL...........ELE........1997......1
AL...........DUE........1995......3
AL...........DUE........1996......2
AL...........DUE........1997......3
ZN...........COL........1995......2
ZN...........COL........1996......2
ZN...........COL........1997......1
ZN...........ELE........1995......4
ZN...........ELE........1996......3
ZN...........ELE........1997......2
ZN...........DUE....... 1995......4
ZN...........DUE........1996.....4
ZN...........DUE........1997......4

i want to display the output to the user on the form as below(i just used dots to make the format well, so dont consider dots).

per each sector(CV,AL,ZN), there will be 3 Items(COL,ELE,DUE).
i want to display the output per year and per sector as below




YEAR......................CV...........................AL.......................... ZN.............
...................COL.... ELE... DUE......COL...ELE....DUE.......COL...ELE...DUE

1995...........1...........2.........2..........2. .........4............3............2........4..... ..4...
1996...........4...........2.........4..........3. .........4............2............2........3..... ..4...
1997...........3...........4.........5..........2. .........1............3............1........2..... ..4...



please suggest me the best approach.
which controls should i use in the form?

I think you have to try VSFlexGrid V7.00. It has a lot of capabilities and code is available on its demo.
Aug 10 '07 #2
hariharanmca
1,977 1GB
i have a table say ABC.
This table has columns
<Sample>


i want to display the output to the user on the form as below(i just used dots to make the format well, so dont consider dots).

per each sector(CV,AL,ZN), there will be 3 Items(COL,ELE,DUE).
i want to display the output per year and per sector as below

<Sample>

please suggest me the best approach.
which controls should i use in the form?

You can use msflexgrid or mshflexgrid and use

Expand|Select|Wrap|Line Numbers
  1. grdName.MergRow(<Row Id>)
Aug 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jfathman | last post by:
Hello, We are considering a project that requires implementing a database (Windows PC based) that would be shared by a small number of users. The database would store events output by our...
9
by: Durgesh Sharma | last post by:
Hi All, Pleas help me .I am a starter as far as C Language is concerned . How can i Right Trim all the white spaces of a very long (2000 chars) Charecter string ( from the Right Side ) ? or how...
4
by: siddharthkhare | last post by:
Hi All, I need to parse certain text from a paragraph (like 20 lines). I know the exact tags that I am looking for. my approach is to define a xml (config) file that defines what tag I am...
8
by: rAinDeEr | last post by:
Hi, I have a table with the following 2 Fields - one is the description name and the second is its description to be stored in a table. description name description...
8
by: Harvey Triana | last post by:
Hello. By example, I have string with a "Hello There". I use Right("Hello There", 3) function in VB.NET to just get "ere" out of the string but there doesn't seem to be one in C#. I have two...
1
by: yang__lee | last post by:
Dear Gurus, I have been programming since 4 years and I am not a computer science literate. I am basically a Mechanical engineer. I am working in GIS field I do c++, C and VC++ programming well...
2
by: =?Utf-8?B?RGlmZmlkZW50?= | last post by:
Hi All, I would like to customize the ASP.NET's calendar control so that if there are any events for a particular day it would highlight/bold that day in the calendar. I use a custom business...
0
by: =?Utf-8?B?UGV0ZXIgUml0Y2hpZSBbQyMgTVZQXQ==?= | last post by:
You should never WaitForMultipleObjets or WaitForSingleObject on a GUI thread (unless there's a very short timeout). Creating another thread to perform the blocking (calling WaitFor...) is the...
5
by: Amir Michail | last post by:
Hi, I would like to center a logo between left and right floats with different widths. The issue is that the logo should be centered with respect to the window, not the area between the left...
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
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
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.