Want Insert Sub Form in form

Discussion in 'Tally Developer' started by Mahesh Sethi, Oct 14, 2020.

    
  1. Mahesh Sethi

    Mahesh Sethi Member


    Dear Admin/Experts,

    I have work for school fees module and stuck in Sub form stage, Pls help me.

    Code is as under :

    [#Part: MST LED Explode CurrentAssets]
    Add : Line : At End : AcademicDetails,FamilyDetails,

    [Line : AcademicDetails]
    Field : Long Prompt, ItemRateSetings
    Local : Field : Long Prompt : Set As : "Set/Alter Student Academic Details :"

    [Field : ItemRateSetings]
    use : Logical Field
    Set aS : No
    Sub Forms : Academic Details : $$Value

    [Report : Academic Details]
    Form :Academic Details

    [Form :Academic Details]
    Part :ItemRateSF

    [Part :ItemRateSF]
    Line : ItemRateSF
    Scroll : Vertical

    [Line :ItemRateSF]
    Field : MSTSFItemName,;MSTSFItemRate
    [Field : MSTSFItemName]
    use : Logical Field
    Set as : No
    Sub Forms : Details : $$Value
    Width : 90% Screen
    [Form :Details]
    Part :Details
    [Part :Details]
    Lines : Class1, ;;Class2, Class3, Class4
    Scroll : Vertical

    [Line :Class1]

    Field : DetailsH, Details

    [Field : DetailsH]
    Use : Name Field
    Set As : "Set/Alter Class 1 Detail's :"
    Align : Left

    [Field : Details]
    Use :Name Field
    Set as :"Mani"
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Please explain clearly, so that your ideas/objectives are understood better.

    It is not possible for experts to Load and Run each and every code and also to make tally data accordingly.

    And why are you having sub-form within a sub-form???
     


  3. Mahesh Sethi

    Mahesh Sethi Member


    Sir,
    I want insert two fields
    1. Set alter student academic details for maintain students academic details along with his class wise Quarterly, Half Yearly And Yearly Subject marks detail's. (For Class 1st to 12th )

    2. Set Students family details for Maintain Students Family history along with Mother father details , Date of Birth,Contact Details & so on....

    that's why i want wand sub form in a form (like Group Tree Dreal down in tally Group>sub Group>parent Group of sub Group Etc.)

    and if you suggest any better way pls tell.

    Thanks in advance.

    Mahesh
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Ok...you explained your objective...now what is the problem???

    From what I see there is nothing wrong with the code...except that you have still NOT defined the LINE-- "familydetails"

    As for Subform - DETAILS.... you have not defined the REPORT..........directly went to FORM........so define the REPORT also. And so...it will work. Keep it on.
     


Share This Page