Friday, 8 June 2012

How to check if your variable suit the conditions given in query range


Use inRange methods from Global class
static boolean inRange(str _rangeValue, anytype _value)
Example:

{
    str   _rangeValue;
    str   _value ;
    boolean          result;
    ;
    _rangeValue  = ‘200..500’;
    _value          =  ‘300’;

    result  = Global::inRange (_rangeValue , _value);
}
The result variable will be equal to true


Copied from Experts website....... Dynamicsaxtraining.
You can always reach me at axapta4all@gmail.com
Anonymous Axaptian  

No comments:

Post a Comment