antifashionpimp
Registered User.
- Local time
- Today, 06:55
- Joined
- Jun 24, 2004
- Messages
- 137
Hello,
I have a crosstab query that has People's names as the rows, and Question descriptions for column headings, e.g. as follows:
-------------Married----Kids---Car----etc. etc.
Pete |
John |
Steve |
etc. |
etc. |
The query runs fine, however, I want the column headings (Married, Kids, etc.) to be sorted according to a number. This number goes from 1 to x in a table called tblQuestions, which looks like follows:
QuestNum--------QuestDescr
1---------------Kids
2---------------Car
3---------------Married
Therefore, I want the column headings in the crosstab query to rather be sorted according to their order as in tblQuestions (i.e. Kids, Car, Married). I tried making my ColumnHeadings's "Sort By" setting in the QBE grid to Ascending, but this does not work. At the moment, the crosstab query sorts them alphabetically.
What must I do?
TIA,
Jean
I have a crosstab query that has People's names as the rows, and Question descriptions for column headings, e.g. as follows:
-------------Married----Kids---Car----etc. etc.
Pete |
John |
Steve |
etc. |
etc. |
The query runs fine, however, I want the column headings (Married, Kids, etc.) to be sorted according to a number. This number goes from 1 to x in a table called tblQuestions, which looks like follows:
QuestNum--------QuestDescr
1---------------Kids
2---------------Car
3---------------Married
Therefore, I want the column headings in the crosstab query to rather be sorted according to their order as in tblQuestions (i.e. Kids, Car, Married). I tried making my ColumnHeadings's "Sort By" setting in the QBE grid to Ascending, but this does not work. At the moment, the crosstab query sorts them alphabetically.
What must I do?

TIA,
Jean