"Go to Report"

Discussion in 'Free Source Codes' started by Rohit Khedar, Jan 13, 2020.

         
  1. Rohit Khedar

    Rohit Khedar Member


    hi any body i want " Go to Report " on Gateway Of tally but i salecte report not open so what mistak me .
    Chack Plz.

    [#Menu: Gateway of Tally]
    Add: Button: Gotoreport

    [Button: Gotoreport]
    Key: Alt + G
    Action: Alter : Gotoreport
    Title : "Go to Report"


    [Report : Gotoreport]

    Form :Gotoreport
    Variable : GoReport : string
    Set : GoReport : ""


    [Form : Gotoreport]

    Parts : Gotoreport
    Option : Small Size Form
    Full Width : No
    Space Left : 0.5
    Space Right : 0.5
    Vertical Align : Top


    [Part : Gotoreport]
    Lines : Form SubTitle, Gotoreport
    Local : Field : Form SubTitle : Info : "Go to Report Filter"


    [Line : Gotoreport]
    Fields : Gotoreport



    [Field : Gotoreport]

    Use : Name field
    Table : All Report List, All Voucher Type
    Show Table : Always
    Sort : Yes
    Modifies : GoReport :Yes
    Variable :GoReport

    [Variable:GoReport]

    Type : String
    Persistent : Yes

    [System:Variables]
    GoReport:""
     


  2. Rohit Khedar

    Rohit Khedar Member


    any expert hlp plz above code
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The Table you are referring to in your FIELD is not a REPORT........ correct it.
     


  4. Rohit Khedar

    Rohit Khedar Member


    Amit sir i change Table but not open now
    [Collection: All Report List1]
    ListName : Balance Sheet,Trial Balance,Profit and Loss
    Client Only : Yes
     


  5. Jenny

    Jenny Active Member


    Why you complicated....just use simple code

    [#Menu : Gateway Of Tally]
    Add: Item : Before : @locQuit : My Report : Menu : All Report

    [Menu : All Report]
    Item : Balance Sheet : Display : Balance Sheet
    Item : Trial Balance : Display : Trial Balance
    Item : Profit and Loss : Display : Profit and Loss
     


  6. Rohit Khedar

    Rohit Khedar Member


    Jenny thanks but i want add more report 100,150 so i want my formula type
     


  7. Jenny

    Jenny Active Member


    Here is your Final Code
    Code:
    [#Menu: Gateway of Tally]   
    Add: Button: Gotoreport
    
    [Button: Gotoreport]
    
        Key     : Alt+G
        Title   : $$LocaleString:"All Reports"
        Action  : Select Display : Gotoreport
       
    [Report: Gotoreport]  ;;Auto Report
    
        Use         : Get Report1
        Local       : Field : Form SubTitle : Info : $$LocaleString:"All Reports"
        Local       : Field : Get Report1    : Table: Acct Reports1
       
    
    
       
    [Collection: Acct Reports1]
    
        ReportList  : Balance Sheet, Profit and Loss, Trial Balance
        Title       : $$LocaleString:"All Reports"
        Align       : Centre
        FullHeight  : No
        ClientOnly    : Yes
       
    [Report: Get Report1]    ;;Auto Report
    
        Auto        : Yes
        Form        : Get Report1
        Title       : $$LocaleString:"Select Report"
        Local       : Field : Form SubTitle : Info : $$LocaleString:"Related Reports"
    
    [Form: Get Report1]
    
        No confirm      : Yes
        Full width      : No
        Full height     : No
        Background      : @@SV_UNGREY
        Local           : Line  : Form SubTitle : SpaceBottom   : 0.5
        Part            : Get Report1
        Output          : SelectedReport1
        Space Left      : 1
        Space Right     : 1
        VerticalAlign   : Top
    
    [Part: Get Report1]
    
        Line        : Form SubTitle, Get Report1
    
    [Line: Get Report1]
    
        Field       : Get Report1, SelectedReport1
    
        [Field: Get Report1]
    
            Use         : Name Field
            Show Table  : Always
    
        [Field: Selected Report1]
    
            Use         : Short Name Field
            Set as      : $$Table:GetReport1:$Value
            Invisible   : Yes
            Skip        : Yes
            Fixed       : Yes
            Set always  : Yes
     


Share This Page