Solved

CrossTab query

Posted on 2002-03-21
10
270 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
 

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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now