I have a pop up window that I created with the following code. This will accept a range for the Item (i.e. 111..222) or it will also accept a wildcard (i.e. 1*..2*).
Window.OPEN('Please press enter twice to continue\#######1#');
Window.INPUT(1,ItemToRun);
Window.CLOSE;
a little farther down in the C/AL, I'm using the following statements:
IF ItemToRun <> '' THEN Item.SETRANGE(Item."No.", ItemToRun)
This code works if I only put in a single part number but doesn't work for ranges or wildcards. Any ideas on how I can make it work like standard NAV?
0
Comments