Want To Add Condition in Menu Like $$IsBudgetOn

Discussion in 'Tally Developer' started by Umesh s vaghela, Aug 18, 2012.

    
?

Want To Add Condition in Menu Like $$IsBudgetOn

  1. Want To Add Condition in Menu Like $$IsBudgetOn

    1 vote(s)
    100.0%
  2. Want To Add Condition in Menu Like $$IsBudgetOn

    0 vote(s)
    0.0%

  1. Respected Sir,
    i Want When i Set Yes "Enable Student Module?" then Report / Menu Appear in Gate way of Tally else not please help me in the Below Code
    ( Hint : I want menu like Budget { If f11: Accounting Feature Maintain Budget is : Yes Then Budget Menu is Show in Acc Info menu else not Show})

    [#Part: CMP AccFeat Right]

    Option : SmplCMP AccFeat Right : NOT $$IsRemoteCompany

    [!Part: SmplCMP AccFeat Right]

    Add : Lines : SmplCMP Student Fees Feature

    [Line: SmplCMP Student Fees Feature]

    Fields : Medium Prompt, SmplCMP Student Fees Feature
    Local : Field : Medium Prompt : Info : $$LocaleString:"Enable Student Module?"
    Space Top : 0.4

    [Field: SmplCMP Student Fees Feature]

    Use : Logical Field
    Storage : SmplStudent Feature1



    [#Menu : gateway of tally]
    Add : Key Item : Before : @@LOCQuit : "Add Student" : U : Menu : MRStudents : $$IsStuon:$$CurrentSimpleCompany
    Add : Key Item : Before : @@LOCQuit : "Display Work" : W : Print : RDisplay Students
    Control : "Add Student" : $$IsStuon

    [menu : MRStudents]

    Add : Key Item : Before : @@LOCQuit : "Add Student" : U : Alter : RStudents
    Allwoed : $$IsStuon:$$CurrentSimpleCompany

    [Report: RStudents]

    Form : RStudents
    Title : "Enter Name Of Course"
    Object : Company


    [Form: RStudents]


    Part : PStudents
    Height : 90% Screen
    Width : 90% Screen
    Background : @@SV_CHEQUE


    [Part: PStudents]

    Line : Offered
    Repeat : Offered : Course
    Break on : $$IsEmpty:$Course
    Scroll : Vertical

    [Line: Offered]

    Fields : Multi SNo, Course
    Local : Field : Default : Delete : Border

    [Field: Course]

    Use : Short Name Field
    Storage : Course
    Unique : Yes


    [Report: RDisplay Students]

    Form : Display
    Title : "Display Course Report"
    Object : Company :##SVCurrentcompany

    [Form: Display]

    Part :Dispaly
    Height : 90% Screen
    Width : 90% Screen
    Background : @@SV_REPACCOUNTS

    [Part: Dispaly]

    Line : Display
    Repeat : Display : Course
    Break on : $$IsEmpty:$Course
    Scroll : Vertical

    [Line: Display]

    Field : DSP

    [Field: DSP]


    Use : Name Field
    Set As : $Course
    Width : 0

    [System: UDF]

    Course : String : 20003
    SmplStudent Feature1: Logical : 1000


    [Function: IsStuon ]

    01 : RETURN : $$IsObjOfType:"Add Student"

    ;; End-of-File
     


  2. Vikram

    Vikram Member


    Dear Mr.Umesh,

    Please Refer the Self Explaining TDL reference file for more info.

    Here i would like to highlight some points w.r.t your code :

    1.Please try to know the product .i.e Tally (Because ,it is Tally customization rather than tally development as of now!)
    2.Try to utilize the available resources to maximum extent rather than coding too many .
    3.try to know the different actions,attributes ,formulas and functions in TDL by refering the TDL Referecne file.
    4.Try not to use the Keywords and reserved words of Tally (in your code you have tried "DISPLAY","DSP" )

    Thanks and regards
    Vikram
     

    Attached Files:

    admin likes this.



  3. Thanks Mr Vikram i have note down your points i am new to TDL Thanks for Help
     


  4. admin

    admin Administrator Staff Member


    Great Reply :)
     


Share This Page