Passing Parameter when calling a data port from code unit.

Dev1978Dev1978 Member Posts: 18
Hi guys.

I am calling a data port which will export the data to the text file. The data port is based on item table.


file_to_export := 'c:\text.txt';
DataportObject.FILENAME(file_to_export);
DataportObject.RUN;

I want to put the filter to export the data for a particular item code. That the user selected. Like i put the button on item card form "EXPORT DATA" i will call this data port and pass the current item code number from item card from.

Comments

Sign In or Register to comment.