Soufiane Amroun · Nov 14, 2017

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?


0 186
Discussion (3)1
Log in or sign up to continue

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);