Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.252
  HXTT Cobol 5.0.251
  HXTT DBF 7.1.252
  HXTT Excel 6.1.255
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Json 1.0.223
  HXTT Paradox 7.1.251
  HXTT PDF 2.0.251
  HXTT Text(CSV) 7.1.251
  HXTT Word 1.1.251
  HXTT XML 4.0.252
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Excel
Excel Update - corrupts the file - Excel v4.1
Ashwanh Gunasekaran
2014-09-18 10:03:20
I am using Excel v4.1, Windows 7 and 64 bit OS.

When I try to run the update query, it is successfully executed and the test is completed.

But when I open the excel sheet, I am getting "File Error: data may have been lost) and seeing a .bak file.

Can you please help me in resolving this issue?
By the way, does Excel v4.1 support Windows 8 (64 bit) and MAC OS as well?

Please find my code as below:

properties = new Properties();
properties.setProperty("delayedClose", "-1");

Class.forName("com.hxtt.sql.excel.ExcelDriver");
workFlowExcel_RunManager_Connection = DriverManager.getConnection("jdbc:excel:/" + workFlowFolderName
+ "?WRITE=true", properties);
workFlowExcel_RunManager_Statement = workFlowExcel_RunManager_Connection.createStatement();
String updateMainSheetQuery = "UPDATE Main SET Result = '"
+ testCasestatus + "', Elapsed_Time = '"
+ testCaseElapsedTime + "', Execution_Start_Date_Time = '"
+ testCaseStartTime + "', Execution_End_Date_Time = '" + testCaseEndTime
+ "' WHERE Test_Case_Name = '" + testCaseName + "'";
workFlowExcel_Update_Main_Statement.execute(updateMainSheetQuery);
workFlowExcel_Update_Main_Connection.commit();

Re:Excel Update - corrupts the file - Excel v4.1
HXTT Support
2014-09-22 20:25:41
>But when I open the excel sheet, I am getting "File Error: data may have been
> lost) and seeing a .bak file.
>Can you please help me in resolving this issue?
Failed to recur your issue. Please email us your xls sample.

>By the way, does Excel v4.1 support Windows 8 (64 bit) and MAC OS as well?
Supports.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap