Hello,
I have a main table that has a field that is linked to sub table (using lookup, set row source to correct table using SELECT statement that selects two columns out of the sub table (e.g. the ID and Name Column)).
When I run a query on the main table I would like to be able to set the column that should be returned (e.g. the Name column). Currently when I run a query on the main table to be displayed in a listbox the first column of the sub table is always retrieved.
Any advice?
Thanks in advance and with best regards.
I have a main table that has a field that is linked to sub table (using lookup, set row source to correct table using SELECT statement that selects two columns out of the sub table (e.g. the ID and Name Column)).
When I run a query on the main table I would like to be able to set the column that should be returned (e.g. the Name column). Currently when I run a query on the main table to be displayed in a listbox the first column of the sub table is always retrieved.
Any advice?
Thanks in advance and with best regards.