Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
959 views
in Technique[技术] by (71.8m points)

pivot - pivoting large table in MS Access

I'd like to pivot a table, similar in structure to the one below:

enter image description here

To display as follows:

enter image description here

The actual table I'm using has over 1.6 million rows, and 1500+ different field values (field 1, field 2, field 3, etc) currently in the Field column. The goal is to pivot the contents to make the table less unwieldy to work with. The Field_Answers are mostly of the Long-Text data type, which seems to be a problem, as I am getting the error:

"Cannot have Memo or OLE Object fields in aggregate argument"

I'm currently trying to use the query below, which returns the above-stated error:

TRANSFORM Max(mytable.FieldAnswer)

SELECT mytable.ID
FROM mytable

GROUP BY mytable.ID

PIVOT mytable.Field
question from:https://stackoverflow.com/questions/65598421/pivoting-large-table-in-ms-access

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...