Not allow filtering

foolosofofoolosofo Member Posts: 73
Hello,

I'm launching a form from another form filtering it by Item No.. However, I want to prevent user to change the Item Filter in the launched form so they can view only filtered item (no others). (With Ctrl+F7 OR F7).

Is it possible?

Thanks!!

Answers

  • ivo.sabioncelloivo.sabioncello Member Posts: 7
    Use FILTERGROUP function. Eg.
    Item.FILTERGROUP(2);
    Item.SETRANGE("No.", ItemNo);
    Item.FILTERGROUP(0);
    ItemsForm.SETTABLEVIEW(Item);
    ItemsForm.RUNMODAL;
    
Sign In or Register to comment.