Rest() without keys

MarcelWMarcelW Member Posts: 46
Hello,

ich have a little quetion about the reset()-function.
This functions clears all filters and rest the key to the primary key.
Is ist possible to reset ONLY the filters are set at the table?

thx

Comments

  • matteo_montanarimatteo_montanari Member Posts: 189
    MarcelW wrote:
    Hello,

    ich have a little quetion about the reset()-function.
    This functions clears all filters and rest the key to the primary key.
    Is ist possible to reset ONLY the filters are set at the table?

    thx

    Example:

    Item.SETCURRENTKEY("Low-Level Code");
    Item.SETRANGE("Low-Level Code", 1);

    CLEAR(Item2);
    Item.COPYFILTERS(Item2);

    Matteo
    Reno Sistemi Navision Developer
Sign In or Register to comment.