Neutralizer
Board Regular
- Joined
- Sep 23, 2009
- Messages
- 53
Hi,
My question is, how can I set a field in a table as a lookup, but only get the unique values from the table that is being looked up?
For instance say I have a table that consists of three fields, A, B and C as below.
Table 1:
A B C
1 2 3
1 1 1
1 2 2
Now, say I create a new table with fields called X and Y, as below.
Table 2:
X Y
What I want to know is this:
If I make the X field in Table 2 a lookup of the B field in Table 1, how can I make the lookup return only the unique records in this field?
(i.e. The lookup in the X field of Table 2 would only show (2,1) and not (2,1,2).
Cheers
My question is, how can I set a field in a table as a lookup, but only get the unique values from the table that is being looked up?
For instance say I have a table that consists of three fields, A, B and C as below.
Table 1:
A B C
1 2 3
1 1 1
1 2 2
Now, say I create a new table with fields called X and Y, as below.
Table 2:
X Y
What I want to know is this:
If I make the X field in Table 2 a lookup of the B field in Table 1, how can I make the lookup return only the unique records in this field?
(i.e. The lookup in the X field of Table 2 would only show (2,1) and not (2,1,2).
Cheers