how to Validate a field for Only Numerical value in Ax 2012
static void StringValidate(Args _args)
{
str s;
s=”A123″;
try
{
info(strFmt(“%1”,formattedstr2Num(s)));
}
catch
{
info(“dont enter characters other than numericals”);
}
}
static void StringValidate(Args _args)
{
str s;
s=”A123″;
try
{
info(strFmt(“%1”,formattedstr2Num(s)));
}
catch
{
info(“dont enter characters other than numericals”);
}
}
Comments
Post a Comment