S
Steve
Here is what I am trying to do:
I have a table, with rows like this:
Object minval maxval
obj1 4 10
obj2 1 2
I would like to make a query/set of queries based on this table that will
yield:
obj1 obj2
4 1
5 1
6 1
<rows not shown>
4 2
5 2
6 2
<rows not shown>
10 2
The last query would obviously be a crosstab, and if I can get it to the
intermediate form of:
RowHead Object X
1 obj1 4
2 obj1 5
3 obj1 6
4 obj1 7
5 obj1 8
6 obj1 9
7 obj1 10
8 obj1 4
9 obj1 5
10 obj1 6
11 obj1 7
12 obj1 8
13 obj1 9
14 obj1 10
1 obj2 1
2 obj2 1
3 obj2 1
4 obj2 1
5 obj2 1
6 obj2 1
7 obj2 1
8 obj2 2
9 obj2 2
10 obj2 2
11 obj2 2
12 obj2 2
13 obj2 2
14 obj2 2
I would have it licked. Basically, the table needs to show all the
combinations for each possible object value. Row and column order aren't
important. I've narrowed the problem down to knowing the product of the
variations of each object. I know this would be easy to do in a table, but
for various reasons I don't want to create a new table.
Is it possible to make such a query? I've tried a lot of stuff, but nothing
that works so far. Is it possible to write a VBA function to act like a
query?
I have a table, with rows like this:
Object minval maxval
obj1 4 10
obj2 1 2
I would like to make a query/set of queries based on this table that will
yield:
obj1 obj2
4 1
5 1
6 1
<rows not shown>
4 2
5 2
6 2
<rows not shown>
10 2
The last query would obviously be a crosstab, and if I can get it to the
intermediate form of:
RowHead Object X
1 obj1 4
2 obj1 5
3 obj1 6
4 obj1 7
5 obj1 8
6 obj1 9
7 obj1 10
8 obj1 4
9 obj1 5
10 obj1 6
11 obj1 7
12 obj1 8
13 obj1 9
14 obj1 10
1 obj2 1
2 obj2 1
3 obj2 1
4 obj2 1
5 obj2 1
6 obj2 1
7 obj2 1
8 obj2 2
9 obj2 2
10 obj2 2
11 obj2 2
12 obj2 2
13 obj2 2
14 obj2 2
I would have it licked. Basically, the table needs to show all the
combinations for each possible object value. Row and column order aren't
important. I've narrowed the problem down to knowing the product of the
variations of each object. I know this would be easy to do in a table, but
for various reasons I don't want to create a new table.
Is it possible to make such a query? I've tried a lot of stuff, but nothing
that works so far. Is it possible to write a VBA function to act like a
query?