Standard pages and FlowFilters

poppinspoppins Member Posts: 647
edited 2012-07-30 in NAV Three Tier
Hi everyone,

I understood that Flowfilters are no longer supported in Nav 2009.
I was wondering: Do I have to use use Limit Totals only, or are there standard pages that resolved this issue by writing some more code???
If any, can anyone give me the IDs of those pages???

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Did you try by applying filter on flowfilter field using SETRANGE or SETFILTER?
  • poppinspoppins Member Posts: 647
    No, I didn't....
    The idea is that I have a control which should display a list of customers on lookup and it doesn't work anymore because it is based on a flowfilter.....
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Please try and let us know if it didnt work..
  • krikikriki Member, Moderator Posts: 9,112
    poppins wrote:
    I understood that Flowfilters are no longer supported in Nav 2009.
    They are still supported!
    This is a feature of the NAV DB that can never be suppressed without rewriting a LOT of code (not talking about all the developers and users that would start riots because of it).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • poppinspoppins Member Posts: 647
    May be I explained myself in the wrong way....
    I meant that they do not work in the same way in classic....like I said, my control is no longer working, it displays nothing...

    I was just asking if there is a way(eventually by the code) to make it work like in classic(without using limit totals) :)
  • poppinspoppins Member Posts: 647
    Please try and let us know if it didnt work..
    My control should display the list of all customers on kookup....How should I do it???

    I tried the following:
          SETFILTER("Customer Filter",CST001,CST732);
    

    and it didn't work....

    I don't know if my code is wrong or it doesn't work at all :oops:
  • krikikriki Member, Moderator Posts: 9,112
    What is your setfilter supposed to do?
    The way you wrote it has no sense.

    Maybe you mean 1 of these:
    SETRANGE("Customer Filter",'CST001','CST732'); // FROM 'CST001' to 'CST732'
    
    SETFILTER("Customer Filter",'%1|%2','CST001','CST732'); // only customers who no. is 'CST001' or 'CST732'
    
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • poppinspoppins Member Posts: 647
    kriki wrote:
    What is your setfilter supposed to do?
    The way you wrote it has no sense.

    Maybe you mean 1 of these:
    SETRANGE("Customer Filter",'CST001','CST732'); // FROM 'CST001' to 'CST732'
    
    SETFILTER("Customer Filter",'%1|%2','CST001','CST732'); // only customers who no. is 'CST001' or 'CST732'
    

    The type of "Customer Filter" is Code, that's why I wrote it that way :)
Sign In or Register to comment.