Mouse scroll defeats user filtering!

Prototype1Prototype1 Member Posts: 37
Hi all,
I used a CodeUnit to filter the Contact List so each Salesperson could only see "their" Contacts. Looks good but... on openning a Contact Card, the scroll mouse function allows them to move between cards without reference to the filter! :oops:
Is there a way around this?
I used the same technique for the Sales list and it works fine.

Your suggestions are most welcome.

Thanks

Comments

  • alsolalsol Member Posts: 243
    Hi there,

    I had a similar problem with a small input form and the following code on the OnOpenForm() Trigger solved the issue:

    //Set filter on selected record in order to avoid accidently scrolling
    SETRANGE("No.", "No.");

    I hope this helps.

    Regards
  • JPHSCJPHSC Member Posts: 67
    Have you tried using another filtergroup ?
Sign In or Register to comment.