…
ELSE
//DtaMgt.RemoveCrLf(FileBank."DTA File Folder" + FileBank."DTA Filename");
GeneralMgt.RemoveCrLf(FileBank."DTA File Folder" + FileBank."DTA Filename", 'DTA', FALSE);
// Backup file
IF FileBank."Backup Copy" THEN BEGIN
FileBank.LOCKTABLE;
FileBank."Last Backup No." := INCSTR(FileBank."Last Backup No.");
FileBank.MODIFY;
BackupFilename := FileBank."Backup Folder" + 'DTA' + FileBank."Last Backup No." + '.BAK';
IF NOT COPY(FileBank."DTA File Folder" + FileBank."DTA Filename",BackupFilename) THEN // Delete this line.
MESSAGE(Text002 + Text003,FileBank."Bank Code"); // Delete this line.
END;
…
…
ELSE
//DtaMgt.RemoveCrLf(FileBank."DTA File Folder" + FileBank."DTA Filename");
GeneralMgt.RemoveCrLf(FileBank."DTA File Folder" + FileBank."DTA Filename", 'DTA', FALSE);
// Add the following lines.
IF ISSERVICETIER THEN
RBMgt.DownloadToFile(ServerTempFilename,FileBank."DTA File Folder" + FileBank."DTA Filename");
// The end of the new lines
// Backup file
IF FileBank."Backup Copy" THEN BEGIN
FileBank.LOCKTABLE;
FileBank."Last Backup No." := INCSTR(FileBank."Last Backup No.");
FileBank.MODIFY;
BackupFilename := FileBank."Backup Folder" + 'DTA' + FileBank."Last Backup No." + '.BAK';
// Add the following lines.
IF ISSERVICETIER THEN
RBMgt.DownloadToFile(ServerTempFilename,BackupFilename)
ELSE
IF NOT COPY(FileBank."DTA File Folder" + FileBank."DTA Filename",BackupFilename) THEN
MESSAGE(Text002 + Text003,FileBank."Bank Code");
// The end of the new lines.
END;
…
…
//ERASE(FileBank."DTA File Folder" + FileBank."DTA Filename");
//END;
IF ISSERVICETIER THEN // Delete this line.
RBMgt.DownloadToFile(ServerTempFilename,FileBank."DTA File Folder" + FileBank."DTA Filename"); // Delete this line.
//IF NOT ISSERVICETIER THEN BEGIN
IF NOT ISSERVICETIER THEN
…
…
//ERASE(FileBank."DTA File Folder" + FileBank."DTA Filename");
//END;
//IF NOT ISSERVICETIER THEN BEGIN
IF NOT ISSERVICETIER THEN
…