"We have created an additional tab in Part Maintenance which has a dropdown bound to Part.ShortChar01. Once this value is selected (or via a button click) we would like to query a CSV ideally via ABL using; Run c:\epicor\mfgsysdata\Server\ud\Test\filelookup.p (""C:\epicor\Epicor905\PCLookup\swl.csv"", ""swlValue""),String(vSectionSize),OUTPUT vSWL). // then assign vSWL to Part.ShortChar01 Can ABL be called from VB? Do I have to create a .P file and pass the parameters? Is there any slicker/better way to achieve this? Any help appreciated? John."

Is there an important reason that you want to stick with the .p procedure? You could import the data into a SQL table (Epicor UD or other), or code in .Net to connect the csv, create a dataset and then loop through it for the value you are looking for?