Setfilter vs Getfilter

stevo_300stevo_300 Member Posts: 7
edited 2011-03-14 in Navision Attain
Hello all,

I am new to NAV but am in the process of creating a report and am using a global variable as a record (as I need to call it from various places)

would I be best using the setfilter function or getfilter? also what syntax do I use?

and if at all possible, if the filter will return multiple lines, is there the ability to put a field from each line into an array?

(I have the array already set up - and the control code reads using a while do loop)

Thanks in advance for any help!

Steve

Comments

  • matttraxmatttrax Member Posts: 2,309
    You haven't really described what you are trying to do. What is the end goal?

    SETFILTER will limit the data returned when doing a FIND. GETFILTER will return the filter string applied to the field you pass to it. It's just a text value.
  • DenSterDenSter Member Posts: 8,307
    Click the Help menu and select the C/SIDE Reference guide. Type SETFILTER and GETFILTER in the search box and read what comes up. It contains all syntax help you will ever need.
Sign In or Register to comment.