OK, this is a total newbie q, but I can’t seem to solve it on my own. Though the solution must be obvious.
Situation
I have a table named tblActivities. Fields in tblActivities include lngzLocationID#, intPriorityID# and intStatusID#. Each of these fields is joined to a lookup table with two fields, a numeric index number and a text descriptor. E.g., tblLocationLkUP has field idsLocationID# and field chrLocationName. tblPriorityLkUp has field intPriorityID# and filed chrPriorityDescriptor. idsLocationID# can take on any long integer value >= 0. Each value is uniquely associated with a text description of the location to which that value refers. Same for intPriorityID# except that it can only take on the values 0, 1 or 2, corresponding to chrPriorityDescriptor values of “Low”, “Normal” and “High”, respectively. Similarly with tblStatusLkUp (0, 1, 2; “Pending”, “Completed”, “Abandoned”).
Each of lngzLocationID#, intPriorityID# and intStatusID# is linked to the corresponding field in the appropriate look up table. Referential Integrity is required. The joins are one-to-many (tblActivities one, look up tables many) with all occurrences in tblActivity selected but only corresponding entries in the look up tables selected.
Problem
Every time I try to enter data into tblActivities in datasheet mode, I get error messages. (This appears not to be the case if I accept the default entries I have set up for the number fields, but that’s an aside.) Specifically, if I enter a number, I get a message telling me “The text you entered is not on the list.” This seems to be referring to a drop down list that appears when I click on the field. The dropdown list is populated with the _text_ entries I have made in the look up tables (although the links between tblActivities and the look up tables are via the Id# fields).
If I select an entry in the dropdown list I get the error message “The value you entered isn’t valid for this field.”
This is all a tad confusing. I’m sure what I’m doing wrong is trivially easy to correct, but I haven’t hit on how just yet.
HELP!