I have an sql table where I want to enforce 1 to 1 relationship with a Master Record so that you can ADD one child record - but that's it. I guess I can check to see if a record exists and if it does I want to disable/hide the ADD button but I will allow an Edit.
What code do I need to add and where pls.