G
Guest
Datasheet view returns autonumber instead of field value.
I have the following tables:
1) a table for rank codes which only has two fields, autonumber (primary
key) and duty position rank.
2) a table for personnel grade codes which has three fields, autonumber
(primary key), duty position grade, and a lookup field for the corresponding
rank since some duty position grades can have multiple duty position ranks.
3) a table for inbound personnel.
On the third table I created a field called grade foreign key which is a
lookup field that shows all three fields in the second table above. When I
open this table in datasheet view and select the individual's grade I expect
to see, for example, 1, Ms. or 1, Mr. but instead the value 1, 1 is
returned...it is showing me the correct grade but instead of the rank value
it is returning the rank primary key.
The lookup properties for grade foreign key are:
SELECT tblGrade.GradePK, tblGrade.Grade, tblGrade.RankFK FROM tblGrade ORDER
BY tblGrade.Grade;
Bound Column 1
Column Count 3
Column Widths 0";1";1"
I have the following tables:
1) a table for rank codes which only has two fields, autonumber (primary
key) and duty position rank.
2) a table for personnel grade codes which has three fields, autonumber
(primary key), duty position grade, and a lookup field for the corresponding
rank since some duty position grades can have multiple duty position ranks.
3) a table for inbound personnel.
On the third table I created a field called grade foreign key which is a
lookup field that shows all three fields in the second table above. When I
open this table in datasheet view and select the individual's grade I expect
to see, for example, 1, Ms. or 1, Mr. but instead the value 1, 1 is
returned...it is showing me the correct grade but instead of the rank value
it is returning the rank primary key.
The lookup properties for grade foreign key are:
SELECT tblGrade.GradePK, tblGrade.Grade, tblGrade.RankFK FROM tblGrade ORDER
BY tblGrade.Grade;
Bound Column 1
Column Count 3
Column Widths 0";1";1"