I have a table with fields for Products of each type. Ex Product1, Product2, Product3 as fields. And another Field called Product Count in my table. I want the Count field to have a value of 1 as default and either 2 or 3 based on the result of all or some of the Product1,2,3 fields having values in the records.
Ex:
Product1 Product2 Product3 Count xxxx 1 xxxx xxxx 2 xxxx xxxx xxxx 3
I want to state that there will be by default atleast one order. Hence the possibility of 0 orders is not there. Which is the right way to achieve this result?