Contolling The Filtering of records by using Show All(ctrl+shift+F7)

Hi All,

The problem is i have filter the records by writing code on Onaftergetrecord() trigger of the form, what happens is until i am using the showall (ctrl+shift+F7) it works fine .but after using of (ctrl+shift+F7) it showing all records. i want to stop this. Help me in this.

Thanks in advance.

Check FILTERGROUPS function…

Just take this example.

Customer card and then ledger entries now if i am using showall (shift + ctrl +F7) all the ledger entries are appearing. which not to be done .is this possible .

Thanks in advance.

Did you try this?

yes, but it is not works , i have use code onaftergetrecord trigger but no change

How did you use?

Can you show us the code?

Customer Ledger entries on push()

  • OnPush()
    RecCustLedgerEntry.SETRANGE(RecCustLedgerEntry.“Customer No.”,“No.”);
    FORM.RUN(25,RecCustLedgerEntry,RecCustLedgerEntry.“Entry No.”);
    FILTERGROUP(0);

Please read help documents to know how to use filtergroups

http://www.mibuso.com/forum/viewtopic.php?t=16659

http://support.microsoft.com/kb/861744

Thanks for your patience.

Welcome

Please close the post If your problem solved.