Data Path (Improved)

Discussion in 'Free Source Codes' started by Jay kumar tailor, May 9, 2019.

    
  1. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    Try This One.....(Modified)
    Hope You Will Like It.


    [#Menu: Main Menu]

    Add : Key : DelReps

    [#Menu: Default]

    Add : Key : DelReps

    [#Form: Voucher]

    Add : Key : DelReps

    [Key : DelReps]

    Key : Alt + 1
    Action : Alter : PAthSettings



    [Report :pAthSettings]

    [Form :pAthSettings]

    Part : PAthSettings
    On : form Accept : yes : Call : LstDeletes
    On : form Accept : yes : Refresh TDL

    [Part :pAthSettings]

    Line :pAthSettings

    [Line :pAthSettings]
    Field :pAthSettings

    [Field :pAthSettings]
    Use : Name Field
    Table : CEMListColl
    Dynamic : ""


    [Function : LstDeletes]
    Variable :pAthSettings : String
    001 :Set : PAthSettings : #PAthSettings
    010 : LIST DELETE : CMPLists : #PAthSettings


    [#Report: Select Company]

    Set : SVCurrentPath :""

    [#Form : CMP Select Action Form]

    On : form Accept : yes : Call : SetPatch


    [Function : SetPatch]

    Variable :SetPatch : String


    100 : Set : SetPatch : #CMPDirectory
    200 : List Add : CMPLists : ##SetPatch:#PAthSettings


    [Collection : CEMListColl]

    Title : "Company List"
    Data Source : Variable : CMPLists

    Format : $$VarKey,40
    Full Height : yes

    [Variable : CMPLists]

    Type : String
    Persistent : Yes

    [System : Variable]

    List Variable: CMPLists


    [#Field: CMP Directory]

    Use : Name Field
    Set As :"D:\Tally.ERP9\data" ;;Change This As Per Your Default Data Path
    Table : CEMListColl,Any
    Show Table : Always
    Trigger : New Number1 : $$IsSysNameEqual:Any:$$EditData
    CommonTable : No
    Dynamic : ""
    Key : Create New Number
    Skip on : No


    [Report: New Number1]

    Auto : Yes
    Title : $$LocaleString:"New Path"
    [Form: New Number1]
    No Confirm : Yes
    Full Width : No
    Space Top : 1
    Space Bottom : 1
    Space Left : 1
    Space Right : 1
    Background : @@SV_UNWHITE
    Parts : JKNew Number1
    Output : New Number


    [Part: JKNew Number1]

    Lines : Form SubTitle, New Number
    Local : Field : Form SubTitle : Info : $$LocaleString:"New Data Path"
    Local : Field : New Number : Width : 40
    Local : Field : New Number :Storage : Newnumberstorage
     
    Last edited: May 11, 2019


  2. ONKAR

    ONKAR Active Member


    See this another tdl of multiple data path [ credit goes to Respected member - Santosh c Kurian sir ]

    here is code


    [#Report: Select Company]<basegroup:core>
    Local:Field : CMP Directory : Table : Choose Your Data Path
    Local:Field:CMP Directory:Show Table:Always

    [Collection:Choose Your Data Path]
    List Name:"C:\Users\Public\Tally.ERP9\Data" , "D:\TALLY.ERP9\DATA"

    you can add unlimited data path just put your data path in this red color text replaced with your data path

    see this image

    DATA PATH.JPG
     
    panam, SANTOSH SHRESTHA and mukeshb like this.


  3. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    It's Different....
    Please try first
     
    panam and Mukesh Kumar like this.


  4. Mukesh Kumar

    Mukesh Kumar New Member


    Good job sir ji
     
    panam likes this.


  5. rajiv jain

    rajiv jain Member


    good job

    keep updated nice to lean new ideas
     
    panam likes this.


  6. udaya

    udaya Active Member


    wow... best TDL Friend.... Keep it UP
     
    panam likes this.


  7. N vinoth

    N vinoth Guest


    Nice keep it up
     
    panam and Murali.R like this.



  8. Interesting !!!!!
     
    panam likes this.


  9. DANIELGORI

    DANIELGORI New Member


    sir please code for Comparison Report for GSTR-1 and GSTR-3B how to fetch data from GSTR-1 and GSTR-3B
     


  10. Bipin Damania

    Bipin Damania Active Member


    Yes

    It's Different...
    Thank you for sharing...
     
    panam likes this.


  11. S P Tandale

    S P Tandale Member


    Excellent Jay Sir
     



  12. With storing all path in collection can we do,allow user to input path in form then from that we can used it
     
    panam likes this.


  13. panam

    panam Member


    great work sir,

    keep updated with new ideas.:)
     



  14. Good Tdl for Tally.erp 9 but when I placed path of text file on Tally Prime, It has given attached error.
    It has shown some error in the line No.51 which has following command
    [#Form : CMP Select Action Form] Data Path.jpg
     


  15. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The FORM name for PRIME is different and hence it will not work.
    Even with the correct form name above code will not work in PRIME as it has a different method.
     



  16. i am interested to buy this programme for tally prime, if anyone have, please share your quote at sandip@kmkgroup.net.
     


Share This Page