S
Shane Holder
Long story short:
Adding the All predicate to a union query causes the
dependant transform query to crash Access, a memo field is
the value in the transform.
Long story:
I generate 2 .mdb's with identical tables which I then
link through a "master" .mdb which uses a union query to
unify the tables and present a single view of the data.
Query for Union of Tables:
SELECT UDAValues.id_number, UDAValues.uda_name,
UDAValues.uda_value
FROM UDAValues
UNION SELECT UDAValues1.id_number, UDAValues1.uda_name,
UDAValues1.uda_value
FROM UDAValues1;
These tables represent User Definable Attributes which
need to be "transformed" so that the uda_name is a column
and the data can be joined with other tables on the
id_number, the uda_value is a memo.
Query for Transform:
TRANSFORM First(UDAUnion.uda_value) AS firstvalue
SELECT UDAUnion.id_number
FROM UDAUnion
GROUP BY UDAUnion.id_number
PIVOT UDAUnion.uda_name;
This worked beautifully until I realized that my data in
the "Unioned" table was being truncated to 256 characters,
a quick search on the Internet suggested adding the All
predicate to the query which resolved the truncation issue
but causes the transform query to crash Access.
Any suggestions on how to remedy this situation and get
all of the data in the value field returned?
(Just as an asside, the end-result data will be sucked
into an Excel spreadsheet with "Get External Data" so Jet
will be involved)
Thanks,
Shane
Adding the All predicate to a union query causes the
dependant transform query to crash Access, a memo field is
the value in the transform.
Long story:
I generate 2 .mdb's with identical tables which I then
link through a "master" .mdb which uses a union query to
unify the tables and present a single view of the data.
Query for Union of Tables:
SELECT UDAValues.id_number, UDAValues.uda_name,
UDAValues.uda_value
FROM UDAValues
UNION SELECT UDAValues1.id_number, UDAValues1.uda_name,
UDAValues1.uda_value
FROM UDAValues1;
These tables represent User Definable Attributes which
need to be "transformed" so that the uda_name is a column
and the data can be joined with other tables on the
id_number, the uda_value is a memo.
Query for Transform:
TRANSFORM First(UDAUnion.uda_value) AS firstvalue
SELECT UDAUnion.id_number
FROM UDAUnion
GROUP BY UDAUnion.id_number
PIVOT UDAUnion.uda_name;
This worked beautifully until I realized that my data in
the "Unioned" table was being truncated to 256 characters,
a quick search on the Internet suggested adding the All
predicate to the query which resolved the truncation issue
but causes the transform query to crash Access.
Any suggestions on how to remedy this situation and get
all of the data in the value field returned?
(Just as an asside, the end-result data will be sucked
into an Excel spreadsheet with "Get External Data" so Jet
will be involved)
Thanks,
Shane