Start report with pre-defined filters

Luc_VanDyck
Luc_VanDyck Member, Moderator, Administrator Posts: 3,633
edited 2000-10-02 in Navision Financials
I don't think this is possible, but I ask it anyway.

Is it possible to start a report (with serveral DataItems), and fill-in some filters from the start. So the user sees the ReqFilterFields (defined when programming the report) with the corresponding values?
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)

Comments

  • Jesse_Rogers
    Jesse_Rogers Member Posts: 3
    If you don't mind having the code in the form you call the report from, you can declare a global, then set range on that global, and call the report with that global. The ranges set will appear as req filter fields filled in.

    Eg, declare the new variable "SalesRec1"
    SalesRec1.SETRANGE("No.",1234);
    REPORT.RUNMODAL(206,TRUE,TRUE,SalesRec1);

    Report will run with 1234 in "No." field.
  • ivicaSD
    ivicaSD Member Posts: 9
    More detailed answer can be found in this forum post:

    http://forum.mibuso.com/discussion/35317/default-filter-on-report
    --
    Ivica