Dear Ken
Thank you for your kind help.
My application is like that:
I need to analyze a product specification organized as xml format. The nodes
deep is dynamic.
My current solution is
First,
I read all the nodes recurstive to a table A as
Part Item Value
A 1 5.3
A 2 6.7
B 1 7.7
B 3 8.9
Second:
I use cross query to transform the table A to query B
PartName 1 2 3
A 5.3 6.7 -
B 7.7 - 8.9
Third:
I use another query C to get my answer based query B
PartName Answer

function(1,2,3))
A 12
B 16.6
It's ok if I only ananylize one product once a time. But if I want to create
a class module to deal with this specification in case I need to compare two
or more products once a time, it will be wrong to use same temperory table.
Would you mind let me know how to deal with this directly without use
temperory table and euqery.
If you don't get this clearly, please let me know.
Thank you very much.
with best regards
Jason