Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
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 | Refund | Sitemap