Hi
I have a database used for managing warehouse locations. I have a few fields set up in relationships. I make queries from excel into pivot tables which work fine.
I wanted to enhance the access database by turning on REQUIRED and UNIQUE for some of the fields in Access. When I activate these the existing queries that are set up in Excel pivot tables still work fine. When I want to create a new query I get "Type mismatch in expression" error. I know these errors happen when you have different field types such as short text and a number linked to each other. it also seems I get these errors when using REQUIRED and UNIQUE on fields in a relationship.
For example I have a table called Warehouse, the index for Warehouse is automatically set to UNIQUE.
I also have a table called Area. In Area is a field called warehouse which has a relationship to the index in the Warehouse table. the warehouse field is set to REQUIRED.
I have similar relationship fields through out the database.
Is it possible to use REQUIRED and UNIQUE in relationship fields, if so what can I do to to prevent mismatch errors with them? Perhaps I'm doing something incorrect.
Thanks