Unable to modify vCurrentPath and vCurrentFile in tally prime

Discussion in 'Requests' started by NITIN KUMAR JAIN, Jun 17, 2023.

    
Tags:
  1. NITIN KUMAR JAIN

    NITIN KUMAR JAIN New Member


    Respected sir, I am unable to modify vCurrentPath and vCurrentFile in tally prime
    I want to choose any file...
    Please sir help me..


    [#Menu : Gateway Of Tally]
    Add : Key item : before : @@locQuit : @@GSTR2BIMPORT : I : Alter : GSTR2BIMPORT : $EnableGOP:Company:##SVCurrentCompany ;Call: ImportGSTR2Vouchers2

    [Report: GSTR2BIMPORT]
    Title : $$LocaleString:"Import GSTR2B Data"
    Auto : Yes
    Form : GSTR2B Import
    Set : vCurrentPath : $$String:"E:\";$ExportPath:AppINIConfig:"AppINIConfig"
    Set : vCurrentFile : "Test.xlsx"
    Set : ExcelPath : ##vCurrentPath + "\" + ##vCurrentFile
    Set : ResultPath : $$String:(##vCurrentPath + ($$StringWordEx:##vCurrentFile:".":1) + "2.xlsx")

    [Form: GSTR2B Import]
    Use : Blank Buttons Template
    Full Height : No
    Full Width : No
    Space Left : 3
    Space Right : 3
    Space Top : 1.5
    Space Bottom: 1.5
    Part : GSTR2B Import
    On:Form Accept:Yes:Call:ImportGSTR2B


    [Part: GSTR2B Import]
    Lines : GSTR2BTitle, GSTR2BSubTitle, GSTR2BImportPath, GSTR2BImportFile, ExcelPathInfo, ResultPathInfo
    Local : Field : Long Prompt : Width : @@LongWidth + 5

    [Line: GSTR2BTitle]
    Fields : GSTR2BTitle

    [Field: GSTR2BTitle]
    Set as : "GSTR2B Import"
    Style : Normal Bold
    FullWidth : Yes
    Border : Thin Bottom
    Align : Centre
    Skip : Yes
    Fixed : Yes

    [Line: GSTR2BSubTitle]
    Field : GSTR2BTitle
    Local : Field : GSTR2BTitle : Info : $$LocaleString:"(Only Tally Excel format is supported)"
    Local : Field : GSTR2BTitle : Style : Normal Italic
    Local : Field : GSTR2BTitle : Delete : Border

    [Line: GSTR2BImportPath]
    Fields : Long Prompt, ImportPath
    Space Top : 0.5
    Local : Field : Long Prompt : Info : $$LocaleString:"File path:"

    [Line: GSTR2BImportFile]
    Fields : Long Prompt , ImportFile
    Space Top : 0.5
    Local : Field : Long Prompt : Info : $$LocaleString : "File to import (Excel)"

    [Line: ExcelPathInfo]
    Fields : Long Prompt
    Space Top : 0.5
    Local : Field : Long Prompt : Info : $$LocaleString:"Excel Path is " + @@ExcelPath

    [Line: ResultPathInfo]
    Fields : Long Prompt
    Space Top : 0.5
    Local : Field : Long Prompt : Info : $$LocaleString:"Result Excel Path is " + @@ResultPath
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Set : vCurrentPath : $(AppINIConfig, "AppINIConfig").ExportPath
     


Share This Page