I have a database with businesses in one table and contacts (people) in another table linked together. When entering a new record in the form you enter the details of the business then in a subform enter the details of the contacts for that business.
One of the contact fields is called prime contact, which is meant to be used to indicate this is the main contact for the business. There is only meant to be one of these per business.
My question is how do I put a setting in the subform that only allows one record to be selected as prime contact (yes/no field) or show up some sort of warning box if people try to add a second prime contact for the same business?