UDF line repeats not coming out of loop

Discussion in 'Tally Developer' started by Ramu Angappan, Feb 16, 2013.

    
Thread Status:
Not open for further replies.
  1. Ramu Angappan

    Ramu Angappan Member


    Dear Experts,

    I am trying to create an aggregate UDF "RSAgg". Now the Line which i am repeating has Employee Pick list has a field which has value stored from a table. but this employee list would not be null.

    Line keeps on repeating and i am not able to come out of the loop. Kindly guide me on how to exit the loop when i select a non employee..

    i think first i should create a blank item in my collection. Kindly assist.

    [Part:EmployeeListPick]
    Local:Field:Medium Prompt:Info:'Picked by'
    Line: EmployeeListPick
    Repeat:EmployeeListPick:RSAgg
    BreakOn:$EmployeeListPick:"Not Applicable"
    [Field:RSEmpPickList]
    use:name field
    TABLE:EmployeeListPick,Not Applicable
    Show Table:Always
    Storage:EmployeeListPick
    Width:20
    [Collection: EmployeeListPick]
    Type: CostCentre
    Fetch: Employee DisplayName
    Title : $$LocaleString:"List of Employees"
     


  2. admin

    admin Administrator Staff Member


    [Part:EmployeeListPick]
    Local:Field:Medium Prompt:Info:'Picked by'
    Line: EmployeeListPick
    Repeat:EmployeeListPick:RSAgg
    BreakOn: $$IsSysNameEqual:NotApplicable:$EmployeeListPick ;; Correct this
     


  3. Ramu Angappan

    Ramu Angappan Member


    thank you!! it worked :)
     


Thread Status:
Not open for further replies.

Share This Page