New To Samba (Table Questions)

I moved 2 posts to a new topic: Can you put an if condition in a constraint?