Not allow to enter negative values

Hi how can i make a user not to enter negative values(like -10) in a control. thanx Kumar

Set the MinValue property to 0 (zero). Kind regards, Jan Hoek Weha Automatisering BV Woerden - The Netherlands

Hi Jan Thanx for the lead but what u said is corerrect to some extent, in the sense when min value is set zero and if u enter negative values then error message prompted is “the min value is zero”…which i doesnt want. any how i have written the code on the validate as if field < 0 then error(‘no neg values’); Kumar

… which will only acheive one thing: present the user with a non-standard error message. Lars Strøm Valsted ------------------------- Why can’t programmers tell the difference between Christmas and Halloween? Because OCT(31) = DEC(25)