I have a subform with a few unbound text boxes using DLookup to find values in a query. All of the textboxes (and DLookup functions) work except one and I think I know why but don't know how to solve it.
The function in question looks up a value in a table that uses a lookup function into another table, which has only two columns: the PK and the value. The DLookup sees this and returns the PK when I actually want it to return its value.
I know this is breaking Law 2, but there are 109 different values in that table and those values are used either once or twice for every record.
The problem is that I don't know what to change to fix this: The table/field that uses the lookup (trying to bind the value), the query (looking up the value in the lookup table), or the DLookup function itself. I've tried tinkering with them all to no avail.