XMLport Filters

HohenzollernHohenzollern Member Posts: 18
Hi to all. I'm trying to add filters from form to XMLport but don't know how to do it right)

For example that helps me, when I'm adding filters to report:
Employee.RESET;
Employee.SETRANGE("No.",Rec."Accountable person");
TReport.SETTABLEVIEW(Employee);

And the same doesn't works with XMLport:
FileName.CREATE(Text001);
FileName.CREATEOUTSTREAM(OnExport);
Employee.RESET;
Employee.SETRANGE("No.",Rec."Accountable person");
MyPort.SETTABLEVIEW(Employee);
XMLPORT.EXPORT(50000,OnExport);
FileName.CLOSE;

Don't know where is my fault. Thx for any help.

Comments

Sign In or Register to comment.