Run dataport from report

MarcelMarcel Member Posts: 26
edited 2002-11-15 in Navision Financials
I've created a report to make some changes in the item table. On post report i want to run a dataport. Therefore a i've put the following code in the OnPostReport section of the report :

DATAPORT.RUN(DATAPORT::"Import Verkoopbudget Stukprijs",TRUE);

In the properties of the dataport the propertie UseReqForm is set to Yes.

On post of running the report the dataport seems to run but skips showing the requestform of the dataport.

:?: How is this possible and how can i solve this?

Thnx
Marcel
Best Regards,

Marcel Bierens

Comments

  • QuasimodoQuasimodo Member Posts: 45
    I do the same, but have defined the dataport as aglobal variable and run this from the report with:

    clear(variable);
    variable.runmodal;
Sign In or Register to comment.