Need some help in filteration

Discussion in 'Free Source Codes' started by ANURAG954245, Apr 12, 2024.

    
  1. ANURAG954245

    ANURAG954245 Member


    This is the code that i am using to filter the vouchers according to user now what i want is there any option that we can select multiple users to filter right now its accepting only 1

    [#Form:daybook]
    Add:Button:usefilter

    [Button:usefilter]
    Title:"FILTER BY USER"
    Key:ALT+U
    Action:Alter:USERFILl

    [Report:USERFILl]
    Form:USERFIL
    [Form:USERFIL]
    Part:USERFIL
    [Part:USERFIL]
    Line:USERFIL
    [Line:USERFIL]
    Field:USERFIL
    [Field:USERFIL]
    Use:name field
    Table:User List1,all Items
    Show Table:Always
    Modifies:USERFIL:Yes
    [Variable:USERFIL]
    Type:String


    [#REPORT:DAYBOOK]
    SET:SHOWCREATEDBY:YES
    Variable:USERFIL

    [System:Formula]
    USERFIL:if ##USERFIL=" All Items" or $$IsEmpty:##USERFIL then $EnteredBy=$EnteredBy else $EnteredBy=##USERFIL


    [#Collection:Daybook Vouchers of Company]
    Filter:USERFIL
     


Share This Page