Lookup Field

thomasknebel

New member
Local time
Today, 02:14
Joined
May 29, 2016
Messages
6
Hi,

I want to create a lookup field for looking up from a table which itself contains foreign keys but not the values it relates to. Said that I don't want to lookup the foreign keys only but the values the foreign keys are related to in a third table.

Thank you,

Thomas
 
Use a Combo Box and when setting the Column Widths set the first one to 0 (zero), that way the Foreign Key will be hidden.
 
Thank you GinaWhipp for your reply!

My apologise as I have been inarticulate in my explanation.

Table 1 (ComboBox) -> Table 2 ID (only) -> Table 3 Name related to ID

I would like to lookup information from two tables.

Thank you,

Thomas
 
Create a query that links your Data and use that as the combo box rowsource.
 
Minty,

allow me a follow up. I did as you proposed, created a query with the fields I would like to include in the lookup. But then I needed to delete the relationship between the tables. Of course the right value will be used but there is no actual relationship between the tables any more!

Or I am wrong? ...and if not how to solve?

All the best,

Thomas
 
You can create any relationship (Join) you want in a query to get the desired results. The stored relationships are only there to assist the wizards, and enforce referential integrity if you use that functionality.
 

Users who are viewing this thread

Back
Top Bottom