Solved

CrossTab query

Posted on 2002-03-21
10
274 Views
Last Modified: 2010-04-05
I am using Sql server 7 as backend and connection to the databse through ADO.

i have a table like this

Class           Language     text
=============================================
Universe     German         """AAAA"""
Universe     English         """BBBB"""
Universe     French         """VVVV"""
Universe     Italian         """DDDD"""
DB             English         """XXXX"""

i want to generate the cross tab query
and the output in the grid

my grid should look like this

Class     German      English     French     Italian  
Universe  """AAAA"""  """BBBB""" """VVVV"""  """DDD"""
DB                    """XXX"""                      

Is there any way to get this output in the grid?
I don't watn to generate a table at runtime.
Is it possible to do it through Descision query?

Please help asap :-)
Rajni

0
Comment
Question by:rajniyadav
10 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6887918
Is it possible to do it through Descision query?
yes, but the result must be displayed in the decission-grid
0
 

Author Comment

by:rajniyadav
ID: 6887920
kretzschmar

ok i have no problem in using decision gid
can u tell how to make the query.

Rajni
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 6887926
there is a wizard, just use it

the primaray select is
select * from yourtable

define then your column/row fields, maybe also some aggregate-fields(like sum, average) if needed,
in the decission-cube component which points to the deccission-query

if needed,
i will produce a step by step instruction tomorrow
(no time today)

meikl ;-)
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:rajniyadav
ID: 6887996
kretzschmar

Can you tell how to user ADO connection component (Database compoenent) in the Descision query.

Rajni
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6888000
hmm,
a new aspect,
will take a look this evening
(no delphi on hand yet),
could be, that the decission-query
did not support ado.

meikl ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6889126
use the tdecissioncube with a tadoquery,
tdecissionquery is not needed in this case

meikl ;-)
0
 

Author Comment

by:rajniyadav
ID: 6893809
i am not able to create the decisioncube dimensions properly. and not able to get the right output in the grid.

can u plz tell me waht is base field & what to set in this field.
0
 

Expert Comment

by:CleanupPing
ID: 9343231
rajniyadav:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9343254
>Post your closing recommendations!  No comment means you don't care.

i am definitivly not able to post recommendations for 200+ cleanup-posts per day.

that means not, that i didn't care of it, if i post no recommendation there!!

even so on this q, i post this unseen of the q
0
 
LVL 7

Expert Comment

by:knightmad
ID: 9470987
Wow, Its been a long time since this comment have been visited!

rajniyadav,
No comment has been added lately (19 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to kretzschmar http:#6887926

-- Please DO NOT accept this comment as an answer ! --

Thanks,

knightmad
EE Cleanup Volunteer

Remember you (all) can object this recommendation if you disagree, just leave a post here explaining why are you objecting and what should be done instead.
Within 7 days probably this thread will be closed, so, hurry up! : )
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 96
error 1.1 400 Bad request idhttp delphi 18 145
CheckListBox usage 3 71
How to remove Recent Projects from Embarcadero C++ builder XE10. Berlin 2 66
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question