A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

CROSSTAB QUERY: Combining text across columns



 
 
Thread Tools Display Modes
  #1  
Old October 8th, 2004, 12:41 AM
CT
external usenet poster
 
Posts: n/a
Default CROSSTAB QUERY: Combining text across columns

Subject: CROSSTAB QUERY: Combining text across resulting
columns into one text string.

Any suggestions for method to combine text across columns
in crosstab query into one text string - when number of
columns and column names will vary each time query is run.
Total list of available column names is known but may grow
in future. Initial data table is almost 1 mil records.

CT
  #2  
Old October 8th, 2004, 02:46 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

I'm having trouble visualizing what you are attempting to do. Could you
provide a small sample and justification?

--
Duane Hookom
MS Access MVP


"CT" wrote in message
...
Subject: CROSSTAB QUERY: Combining text across resulting
columns into one text string.

Any suggestions for method to combine text across columns
in crosstab query into one text string - when number of
columns and column names will vary each time query is run.
Total list of available column names is known but may grow
in future. Initial data table is almost 1 mil records.

CT



  #3  
Old October 8th, 2004, 02:46 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

I'm having trouble visualizing what you are attempting to do. Could you
provide a small sample and justification?

--
Duane Hookom
MS Access MVP


"CT" wrote in message
...
Subject: CROSSTAB QUERY: Combining text across resulting
columns into one text string.

Any suggestions for method to combine text across columns
in crosstab query into one text string - when number of
columns and column names will vary each time query is run.
Total list of available column names is known but may grow
in future. Initial data table is almost 1 mil records.

CT



  #4  
Old October 8th, 2004, 05:55 PM
CT
external usenet poster
 
Posts: n/a
Default


Resulting crosstab example:

PARTNUMBER P1 P2 P3 P5 P7 COLUMNS NAMES
XXXXX P1 P3 P7 VALUES
YYYYY P1 P2 P5


WANTED OUTPUT:
PARTNUMBER VALUE
XXXXX "P1 P3 P7" where P1 P3 P7 is one text string.
YYYYY "P1 P2 P5"

Original table format. Large number of records:

PARTNUMBER VALUE1 VALUE2
XXXXX P 1
YYYYY P 1
XXXXX P 3
YYYYY P 2
......

-----Original Message-----
I'm having trouble visualizing what you are attempting to

do. Could you
provide a small sample and justification?

--
Duane Hookom
MS Access MVP


"CT" wrote in

message
...
Subject: CROSSTAB QUERY: Combining text across

resulting
columns into one text string.

Any suggestions for method to combine text across

columns
in crosstab query into one text string - when number of
columns and column names will vary each time query is

run.
Total list of available column names is known but may

grow
in future. Initial data table is almost 1 mil records.

CT



.

  #5  
Old October 8th, 2004, 07:30 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Create one of the Row Heading expressions using the generic concatenate
function found at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.

--
Duane Hookom
MS Access MVP


"CT" wrote in message
...

Resulting crosstab example:

PARTNUMBER P1 P2 P3 P5 P7 COLUMNS NAMES
XXXXX P1 P3 P7 VALUES
YYYYY P1 P2 P5


WANTED OUTPUT:
PARTNUMBER VALUE
XXXXX "P1 P3 P7" where P1 P3 P7 is one text string.
YYYYY "P1 P2 P5"

Original table format. Large number of records:

PARTNUMBER VALUE1 VALUE2
XXXXX P 1
YYYYY P 1
XXXXX P 3
YYYYY P 2
.....

-----Original Message-----
I'm having trouble visualizing what you are attempting to

do. Could you
provide a small sample and justification?

--
Duane Hookom
MS Access MVP


"CT" wrote in

message
...
Subject: CROSSTAB QUERY: Combining text across

resulting
columns into one text string.

Any suggestions for method to combine text across

columns
in crosstab query into one text string - when number of
columns and column names will vary each time query is

run.
Total list of available column names is known but may

grow
in future. Initial data table is almost 1 mil records.

CT



.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
query a number stored as text Lee Running & Setting Up Queries 19 October 13th, 2004 04:10 AM
Make Columns in a Text Box? Les Coover Visio 3 October 3rd, 2004 07:20 PM
Too Few Parameters error Mail Merge Access Parameter Query Tony_VBACoder Mailmerge 3 September 14th, 2004 12:15 PM
Crosstab query in report Vincent DeLuca Setting Up & Running Reports 19 July 13th, 2004 04:02 AM
crosstab query chris morrison Running & Setting Up Queries 2 July 12th, 2004 08:57 PM


All times are GMT +1. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.