I have a query that is going to return no more than 4 results... for Example
Select Items from tblItems
This query returns:
table
chair
desk
seat
I want to be able to take this result and use it as columns in a new query.. How would I go about using this..
Something like
Select ??? as row1, ??? as row2, ??? as row3, ??? as row4
from sometable
where the value in row1 of the new query would equal table, row2 would equal chair, etc...
Also, in case the query didnt returned less than 4 rows,
maybe it only returned 2 rows, then the value of row3 would be blank and row4 would be blank.
Any suggestions?
Thanks for any help,
Netooi
Select Items from tblItems
This query returns:
table
chair
desk
seat
I want to be able to take this result and use it as columns in a new query.. How would I go about using this..
Something like
Select ??? as row1, ??? as row2, ??? as row3, ??? as row4
from sometable
where the value in row1 of the new query would equal table, row2 would equal chair, etc...
Also, in case the query didnt returned less than 4 rows,
maybe it only returned 2 rows, then the value of row3 would be blank and row4 would be blank.
Any suggestions?
Thanks for any help,
Netooi