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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |