Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Excel
Excel Update - corrupts the file - Excel v4.1
Ashwanh Gunasekaran
2014-09-18 10:03:20.0
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.0
>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
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap