RBA1978
06-10-2008, 10:56 AM
Hi everyone, I've searched for answers and read my books until I can't see strait, but I can't work this out.
I have a simple query of two tables. The two tables have fields allowing a relationship.
In the first table there is data I need to use to return results from the second table...Nothing unusal about that.
The second table is made up of a lot of columns and I need to return the data only held in the relevant column. I could simply include all of these columns in the query but the result would be a very wide query.
The column names in table two match the data in the field I'm trying to match from table 1. I guess what I'm looking for is to use the data from table one and use this to specify which field name (column) to return from the second table...I don't think I'm being very clear :confused:
The best way for me to explain this would be comparing it to a Hlookup in excel.
Can I include screen shots? Would that help? Is this the most unclear request for help in this forums history? :eek: :eek:
I have a simple query of two tables. The two tables have fields allowing a relationship.
In the first table there is data I need to use to return results from the second table...Nothing unusal about that.
The second table is made up of a lot of columns and I need to return the data only held in the relevant column. I could simply include all of these columns in the query but the result would be a very wide query.
The column names in table two match the data in the field I'm trying to match from table 1. I guess what I'm looking for is to use the data from table one and use this to specify which field name (column) to return from the second table...I don't think I'm being very clear :confused:
The best way for me to explain this would be comparing it to a Hlookup in excel.
Can I include screen shots? Would that help? Is this the most unclear request for help in this forums history? :eek: :eek: