Memory access violation error while printing customized report

Discussion in 'Free Source Codes' started by Damodaran, Nov 17, 2018.

    
  1. Damodaran

    Damodaran New Member


    I have developed a customized report in tally ERP9 but, getting memory access violation error while printing/exporting the report.

    Can anyone suggest me the possible reason and solution?
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    First of all -- can you please suggest, as to how we can suggest you, without any data submission by you?
     


  3. Damodaran

    Damodaran New Member


    Hi Amit Ji,

    Thanks for the reply and sorry for the inconvenience.

    Please correct the attached code:
     

    Attached Files:



  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You have defined this............under

    [Report : Stock Report for Sales Man]
    Local : Form : Sivam Stock Report : Add : Button : PrintButton, ExportButton, UpLoadButton, MailButton
    Local : Part : Sivam Stock Report : Local : Line : SivamStockReportTlt +
    : Local : Field : SivamStockReportTitle : Set as : "Stock Details for : "+##VItemGrpVar

    Put the Buttons (PrintButton, ExportButton, UpLoadButton, MailButton) in the FORM definition..........
    Define the Field .... SivamStockReportTitle ... under its PART .... I see no such field in SivamStockReportTitle

    Since this is not a complete code....could not try the TDL..... it is apparent that the error is coming at the time of TRIGGER of Print/Export. So only this much I can do, after seeing your code.
     


Share This Page