What I need is the DatetoStock (only) to be entered into the table when the tickbox is ticked and when it is not ticked only the DateToConsignee to be entered into the table. Either one or the other, never both.