Hi
I have a table called tblContacts. Each contact is linked to a school and one school can have many contacts.
However, there can only be 1 primary contact and the rest are secondary contacts. On a contact form I have a radio box so you can select whether to make them primary or not. However, I can make them all primary. How do I make the current record primary and check if there is a primary record and if not then allocate the current record the primary status.
Whether they are primary or not is held in a seperate field which simply is yes or no.
Help please
Thank you
I have a table called tblContacts. Each contact is linked to a school and one school can have many contacts.
However, there can only be 1 primary contact and the rest are secondary contacts. On a contact form I have a radio box so you can select whether to make them primary or not. However, I can make them all primary. How do I make the current record primary and check if there is a primary record and if not then allocate the current record the primary status.
Whether they are primary or not is held in a seperate field which simply is yes or no.
Help please
Thank you