relationship created look up
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Relationship created by Look Up wizard

Relationship created by Look Up wizard

resolvedResolved · Low Priority · Version 2007

replyReply Wed 24 Sep 2008, 13:48Delegate Jackie said...

Jackie has attended:
Access Introduction course
Access Intermediate course

Relationship created by Look Up wizard

I have created a Client table, a Contract table and an Invoice table.

In the Contract table, I have used the Look up wizard to create a relationship with the Client table to give me a list of current Client names from the Client table.

This appears to work OK until I look into the relationship, at which point I see that the wizard has created the relationship between Client ID in the Client table and not with Client Name in the Client table.

Although this doesn't effect this particular look up/relationship, it seems to be having a knock on effect further down the line when I try and create a look up in the Invoice table back to the Client table to again look for a Client Name. Instead of giving me the name, it is giving me the Client ID.

Why is it not linking Client Name in the Client table with Client Name in hte Contract table? Is this something to do with the Client ID being the primary key?

For upcoming training course dates see: Pricing & availability

replyReply Fri 26 Sep 2008, 12:50Trainer Rajeev said...

RE: Relationship created by Look Up wizard

Dear Jackie

Thank you for attending Access Courses. I hope you enjoyed them and benefited from them.

When you create a relationship between two tables either by lookup wizard or relationship window the one-to-many relationship is created between the Primary key and the Foreign key.

I would suggest you to pay particular attention when you are in the Lookup wizard. Please ensure that you choose the Customer name and NOT the Cust ID. That could be the main reason you are only viewing Customers ID instead of names in eth table.

However, if you are choosing the right field then we need to look at other possible reasons whey it might be doing what it

 

Please browse our web site to find out more about
access database training and other Microsoft training courses.

Access tip:

Zoom feature for queries

If youare working on on query design and creating a calculated field, it can be hard to view the whole statement. You can hold the shift key down and press F2, to show the zoomed up version of the query field

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard