I have a table listing properties, each with its own unique ID. The Vendor associated with these properties holds our data in their system which assigns each property an unique ID also. For security purposes data received from this Vendor holds only their unique ID and generic detail which I store in another table as I receive it. A third table holds their ID and ours as a combined unique ID.
My database does not assign property IDs and the Vendor receives property information from a source other than myself, so I may receive data from them which has an ID that is not in my combined ID table yet. Consequently, when I update data I receive from them with our ID, occasionally some records have a null value in our ID field. The process of receiving, updating, and exporting the Vendor data is automated with code and I have been trying to figure out how I could check the table for a null value in our ID field from within the code and give an error message.
Any suggestions?