Solved

Cross Tab Query in Interbase 6

Posted on 2001-06-26
7
279 Views
Last Modified: 2010-05-18
How do i wriite cross tab query in interbase6.
0
Comment
Question by:princemahesh
  • 3
  • 2
  • 2
7 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6230106
?
select afield, sum(afield2), max(afield3) from tablelist where condition group by afield


alternate
use the decissioncube-components
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6230307
Hi princemahesh,
meikl :)

I saw crosstab query in MS Access. It's different from SQL statements usually we use :-) There is no analog for Interbase.

Try to use decissioncube as meikl told you, or prepare result in memory and then put it into grid.

-----
Igor.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6230446
hi igor ;-)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:princemahesh
ID: 6230629
Where can i find decissioncube-components.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6230649
It should be in "Decision Cube" component palette.
0
 

Author Comment

by:princemahesh
ID: 6230717
I have installed delphi5 Professional but it is not showing me the decisioncube components.  
0
 
LVL 9

Accepted Solution

by:
ITugay earned 50 total points
ID: 6230763

"Decision Cube CrossTab for multidimensional analysis of data" components pack available only in enterprise edition.

btw, it located in dcldss50.bpl (~83kb size). Not sure about licensing agreement, but you can try to download this file somewhere.

-----
Igor.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

697 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