Hi, my users have to enter a 10 digit barcode number. I want to do some bas

Hi,
my users have to enter a 10 digit barcode number. I want to do some basic validations on the field:

if(len(tointeger(ri!barcodeNumberValue_txt))<>10,"Error Msg.",""),
if(len(tointeger(ri!barcodeNumberValue_txt))<>len(ri!barcodeNumberValue_txt),"Error Msg.","")

The first one works fine, but the latter one doesn't work for large numbers. Any ideas how could validate that the field only contains digits?

TIA, Moritz

OriginalPostID-139230

OriginalPostID-139230

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data