reference a field by value contained in another table.

M

Michael Warne

I am having a problem trying to reference a field when the fieldname is
a value within another table.

ie
table a
item id autonumber. key
item_field text
item_name text


table b
datename datetime,
it1 number,
it2 number,
it3 number,
it4 number,
it5 number,
it6 number


I wish to create a query that uses the value [a].[item_field] to
reference .([a].[item_field])

any help would be appreciated.


thanks

mike
 
L

Larry

-----Original Message-----
I am having a problem trying to reference a field when the fieldname is
a value within another table.

ie
table a
item id autonumber. key
item_field text
item_name text


table b
datename datetime,
it1 number,
it2 number,
it3 number,
it4 number,
it5 number,
it6 number


I wish to create a query that uses the value [a]. [item_field] to
reference .([a].[item_field])

any help would be appreciated.


thanks

mike

.
you need the field [item_field] in table b
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top