I'm brand new to access and I've taken a part 1 and part 2 course for work over the past several days. For practice, I wanted to play with some personal budget data I had. I have two tables, one for my categories and one for my transactions. The categories table lists the various locations I've spent money and the fields on the corresponding row list the category and subcategory for purchases at those locations. There are no duplicates of the purchase locations, so that is a primary key. My transaction table has, date of transaction, description, amount, account type, account institution, and purchase location.
I have a relationship set between the purchase location columns of the two tables, but I'm unable to enforce referential integrity. I get an error stating access can't create the relationship and enforce referential integrity. Again, in the categories table, purchase locations have no duplicates. Those are being indexed with no duplicates. I have exported both tables to excel and I've done a lookup to ensure that every purchase location referenced in the transactions table is valid and pulls up a value from the categories table. What else should I be checking for exactly? Both purchase location fields are set to text with a 255 character limit. Any help would be greatly appreciated. Thanks in advance!
Edit: I had run the "find unmatched query wizard" incorrectly. There were some entries in the transaction table that had a space at the beginning...