Options

Print a report whitout filter

LBinDENMARKLBinDENMARK Member Posts: 33
It is a simple problem, but i can't solve it. I will print a report whit no use of any filters. In navi356 i use 'use current report' command. How is it done in navisions 4.0

Comments

  • Options
    aleix1979aleix1979 Member Posts: 213
    Sorry I don't get it. If you want to run a report without filters just make sure that the ReqFilterFields in all DataItems is empty and that you have assigned a key in their DataItemTableView.

    Can you explain which is exacly the problem :?:
    Navision Developer
  • Options
    LBinDENMARKLBinDENMARK Member Posts: 33
    I will print a salesorder, but then filtermenu is shown, and i have to select the salesorder number. I will print the order that i just have filled out, whitout selecting anything, like use current report.
    Hope you understand what i meen.
  • Options
    pdjpdj Member Posts: 643
    I guess what you are lookiing for, is the ReqWindow/USEREQUESTFORM parameters.
    If haing the report as a variable:
    SalesHeader.SETRECFILTER;
    OrderConfRep.SETTABLEVIEW(SalesHeader);
    OrderConfRep.USEREQUESTFORM(false);
    OrderConfRep.RUN;
    
    or dynamic:
    SalesHeader.SETRECFILTER;
    REPORT.RUN(REPORT::"Order Confirmation",FALSE,FALSE,SalesHeader);
    
    Or maybe it's the SETRECFILTER function you are looking for?
    Regards
    Peter
Sign In or Register to comment.