Tally Autobackup issue with Tally Prime

Discussion in 'Tally & TDL Learning HUB' started by SAHIL BHATIA, Dec 8, 2022.

    
  1. SAHIL BHATIA

    SAHIL BHATIA New Member


    Hi.

    This backup file was working in tally erp9 but when I tried to import it in tally prime 2.1 it seems to give me error stating backup failed (Screenshot enclosed for full error)

    Digging deeper made me realise that the error is because of this function where I'm modifying date to suit my requirements as below

    [System: Formula]
    DestPath : ##DestinationPath + "\" + ##SVCurrentCompany + "\" + @@DateForm + "\" + @@TimeForm
    CoNumber : $$String:($CompanyNumber:Company:##SVCurrentCompany):5
    DateForm : $$String:mad:@DateStr
    DateStr : $$YYYYMMDDDateFormat:$$MachineDate:"-"

    Here if I change the DateForm : $$String:mad:@DateStr to DateForm : $$String:$$MachineDate

    The TDL works perfectly.

    The above code is just an extract and the entire TDL is attached for reference.

    Thanks in advance
     

    Attached Files:



Share This Page