type data interval
Hi communauty
I've two columns in my table and the type must be interval of integer values for example : age must be interval between [2 and 6] years and wigth between [10 and 30 ] Kg , how can i define them when creating my table?
thank's
Discussion (3)0
Comments
Make it a serial class with 2 numeric properties and a calculated for the difference
Hi Robert , thank you for the answer , please , do you have any example to show for me ?
With %Library.Integer you can set MINVAL and MAXVAL parameters on your property:
Property Age As %Library.Integer(MAXVAL = 6, MINVAL = 2);