display a field value from one table to report based on criteria

G

Guest

Hi, Acually I have a table called location and it has two fields, ID and Location. I have another table called ProgramInfo and having many fields and as a foreign key I have LocationId in that table

Now I am trying to build a report in Access that instead of LocationId , somehow I can get Location from location table. Can some body help me out

Thanks in advance
aarti
 
M

Marshall Barton

Aarti said:
Hi, Acually I have a table called location and it has two fields, ID and Location. I have another table called ProgramInfo and having many fields and as a foreign key I have LocationId in that table.

Now I am trying to build a report in Access that instead of LocationId , somehow I can get Location from location table. Can some body help me out.


Use a query as the report's record source. When you create
the query, add both tables and make sure the connecting line
is between the LocationID and ID fields. Then you can add
the Location field to the query's field list and use it in
your report.
 

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