RETRIEVING FIELD VALUE

Discussion in 'Tally Developer' started by kosi, Dec 15, 2018.

    
  1. kosi

    kosi Member


    ;; Experts plz help me retrieve field4 value ([Field:Field4]) at field6 ( [Field:FIeld6] )
    ;;im stuck. I want to see the value of field 4 at field 6
    ;;I tried set as:#Field4 at field6 and not fetching value
    ;;Any guidance
    ;;Thanks
    [#Part: GRP Details]
    Background:rED
    Add:Line:Line1
    Add:Bottom Line:BottomLine
    Repeat:Line1:BodyLineColl2
    Scroll:Vertical
    BreakOn: $$IsEndOfList:$Storage1
    Total:FIeld2





    [Line:Line1]
    Field:FIeld1,FIeld2

    [Field:FIeld1]
    Use:Name Field
    Storage:Storage1
    Table:List Of Ledgers,End Of List
    Show Table:Always


    [Field:FIeld2]
    Use:Amount Field
    Storage:Storage2

    [Line:BottomLine]
    Field:Field3,Field4
    Local:Field:Field3:Set as:"TOTAL"

    [Field:Field3]
    Use:Name Field

    [Field:Field4]
    Use:Amount Field
    Set as:$$Total:FIeld2
    Set Always:Yes



    [System:UDF]
    BodyLineColl2:Aggregate:21002
    Storage1:String:26507
    Storage2:Amount:26508
    lineBottomf2storage:Amount:21003
    stor:Amount:565
    mansakondo:Amount:21004
    StudentFee1Storage:Amount:21005



    [#Menu: Gateway of tally]
    Add:Item:Transport Fair:Create:koColl

    [Report:koColl]
    Form:koColl

    [Form:koColl]
    Part:koColl
    Height:30
    Width:50

    [Part:koColl]
    Line:koColl,koColl1
    [Line:koColl]
    Field:Long Prompt,FIeld5
    Local:Field:Long Prompt:Set as:"Purchases"

    [Field:FIeld5]
    Use:Name Field
    Table:StdentCl
    Show Table:Always

    [Line:koColl1]
    Field:Long Prompt,FIeld6
    Local:Field:Long Prompt:Set as:"Transaction"

    [Field:FIeld6]
    Background:red
    Use:Amount Field
    Storage:StudentFee1Storage
    Set as:#Field4




    [Collection:StdentCl]
    Title: $$LocaleString:"Transporter Name"
    Type: Group
    ;;Child Of:"STUDENTS"
    Child of: $$GroupSundryDebtors
    ;;Belongs To: Yes


    ;;end of file
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In Field4....give a storage name........ and define UDF for that storage also.

    (here i am assuming name "storagename"

    [#Object: Group]
    newstoragename : $Storagename

    Now in Field6.... Set As : $newstoragename
     


Share This Page