Options

Estefania

EstefaniaEstefania Member Posts: 16
Hi,

I have a problem with a filter on a list form. On the form 31 (Item list) I make a filter using the mark property, using a field on the top of the form. On the Validate trigger I mark some items and then put a filter with MARKEDONLY(TRUE). The problem is when I try push the "Show all" button, I get the message "Do you want to rename the record?".

Does anyone know why this message is displayed and how can I show all the records again without getting this message?

Thanks a lot

Comments

  • Options
    alanperualanperu Member Posts: 23
    Hi,

    You can use the CLEARMARKS function on the same record.

    For Example:

    Record.SETFILTER(myfilter);
    Record.MARK(TRUE);
    Record.MARKEDONLY(TRUE);
    // this will now be showing the marked records

    Record.CLEARMARKS;
    //this has now removed the marks

    Hope this helps.
  • Options
    kinekine Member Posts: 12,562
    in Many cases you need to insert CurrForm.UPDATE(false). Try it..
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.