How to change this Export 'Path Location'

Discussion in 'Tally Developer' started by Dhrupal Gorasiya, Jan 16, 2014.

    

  1. [Function:Export VCH]
    Variable: TempStr : String
    Variable: VoucherId : String

    020 : IF : $$InCreateMode
    030 : SET : TempStr : $Cmpvchid:Company:##SVCurrentCompany;$$CollectionField:$MasterId:mad:@LastItem:CompanyVouchers
    040 : SET : VoucherID : "ID:" + ##TempStr
    050 : ELSE
    060 : SET : VoucherID : "ID:" + $$String:$MasterId
    070 : END IF
    080 : SET : SVExportLocation : $$(AppINIConfig, "AppINIConfig").ExportPath
    090 : SET : SVExportFormat : $$SysName:pDF
    100 : Set : SVPrintFileName : $$String:$Vouchertypename+"_"+$$String:$Date+"_"+$$String:$vouchernumber
    110 : SET : SVPrintFileName : $$MakeExportName:##SVPrintFileName:##SVExportFormat
    111 : Set : SVOpenFileAfterExport : Yes
    120 : EXPORT REPORT : . : TRUE
     


  2. laxman

    laxman Member


    File Is Not Export In PDF Format
     



  3. File is also export in PDF Format but it's path location is fix
    So How to change it...?
     


  4. Maulik Patel

    Maulik Patel Active Member


    Just change blow code at line 080
    080 : SET : SVExportLocation : "C:\Test"
     



  5. NO it's not work's...
     


Share This Page