S
Sir Benjamin Nunn
Hi,
I'm not very good with Access (using 2003) and can't get round a particular
problem.
I use the lookup wizard to put a combo box lookup, to allow the text field
in one table to be picked from the list of values in another table.
However, every time I run a query to display values from the table with the
lookup, it returns the idea of the value I've selected, and not the actual
value.
I've simplified the problem below to explain it.
Table 1: ListOfFish
Column 1: ID - Int
Column 2: FishName - Text
1 Cod
2 Trout
Table 2: CaughtFish
Column 1: ID - Int
Column 2: Date - Date
Column 3: Fish - Lookup ListOfFish.FishName
1 01/01/2001 <Cod>
2 02/02/2002 <Cod>
3 03/03/2005 <Trout>
When I run a query to return the 'Fish' for 02/02/2002, I would expect it to
return 'Cod', but instead it returns '1'.
Where am I going wrong?
Any and all help much appreciated, thanks.
BTN
I'm not very good with Access (using 2003) and can't get round a particular
problem.
I use the lookup wizard to put a combo box lookup, to allow the text field
in one table to be picked from the list of values in another table.
However, every time I run a query to display values from the table with the
lookup, it returns the idea of the value I've selected, and not the actual
value.
I've simplified the problem below to explain it.
Table 1: ListOfFish
Column 1: ID - Int
Column 2: FishName - Text
1 Cod
2 Trout
Table 2: CaughtFish
Column 1: ID - Int
Column 2: Date - Date
Column 3: Fish - Lookup ListOfFish.FishName
1 01/01/2001 <Cod>
2 02/02/2002 <Cod>
3 03/03/2005 <Trout>
When I run a query to return the 'Fish' for 02/02/2002, I would expect it to
return 'Cod', but instead it returns '1'.
Where am I going wrong?
Any and all help much appreciated, thanks.
BTN