I have a database with a few tables, 2 of them are "requirements" and "req_catagory"
req_catagory has 3 fields, ID, longdesc, code
example:
1, Blood Bank, BB
2, Micro Biology, MICRO
3, Nursing, NUR
requirements table has a bunch of fields. once of the fields is category which is a lookup to req_category so that each requirement can be categorized. It also has another field called category2 which is a calculated field "[category] & "-" & [ID]" so that the entry would get a unique label such as BB-1 or MICRO-23 and be used on forms.
everything is working, however the calculated field is pulling in the ID of the category so the unique label is 1-1 or 2-23. I want the textual code of category so that the requirements can be referenced easily.
The lookup wizard was used and the field-type for category is numerical so this all makes sense, however I can't figure out how to get the textual reference which IS displayed in the table for category when viewing it.
![]()