Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / August 2006

Tip: Looking for answers? Try searching our database.

Relationships between two tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sgtschultz1981 - 04 Aug 2006 16:24 GMT
I have two tables created and I have a one to many relationship on them. The
table I am using in my report has two foreing keys to draw information from
two places in the other table. Why is it that when I view the report it just
shows the autonuumber i used to call it with? What do I need to do to get the
information in the report instead of the number used to import the
information.
Example:
Table 1 is LSV-2472 with fields
LSV-2472-Autonumber
Serial Number-text
Delta Q1-number
Delta Q2-number
Table 2 is Delta Q with fields
Delta Q-Autonumber
Serial Number-text

The relationship is between Delta Q1 and Delta Q2 on the LSV-2472 table,
both of these connect to Delta Q on the Delta Q table.
I put the autonumber in the Delta Q1 and Delta Q2, using them as foreign
keys. What I want in my report is the serial numbers from the Delta Q table
not the autonumbers, How do I do this?
John Vinson - 04 Aug 2006 18:53 GMT
>I have two tables created and I have a one to many relationship on them. The
>table I am using in my report has two foreing keys to draw information from
>two places in the other table. Why is it that when I view the report it just
>shows the autonuumber i used to call it with? What do I need to do to get the
>information in the report instead of the number used to import the
>information.

Base the report on a QUery joining the two tables.

The foreign key is just that - a link to the other table. It doesn't
contain the data from the other table!

                 John W. Vinson[MVP]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.