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 file not updated by UPDATE query.
Attiq Shahzad
2006-09-18 04:09:35.0
I am trying to update an Excel File by using following query(s):
update Sheet1 set Region='Central' where serial='4'

update Sheet1 set Region='Central' where serial=6

update Sheet1 set Region='North' where serial=8.0

update Sheet1 set Region='North' where serial='10.0'


But no query is updating the data in the file. It is a simple MS-Excel 2003 File.
Please Help.
Have a good day.
Re:Excel file not updated by UPDATE query.
HXTT Support
2006-09-18 04:31:49.0
Passed test for the following sqls:
select * from sheet1;
update Sheet1 set Region='Central' where serial='4';
update Sheet1 set Region='Central' where serial=6 ;
update Sheet1 set Region='North' where serial=8.0 ;
update Sheet1 set Region='North' where serial='10.0' ;
select * from sheet1;

The echo message is:
select * from sheet1
Region JAVA_OBJECT 0 0 0
serial JAVA_OBJECT 0 0 0
null 4.0
null 6.0 null 8.0
null 10.0
The total row number of resultset: 4

1:update Sheet1 set Region='Central' where serial='4'
2:update Sheet1 set Region='Central' where serial=6
3:update Sheet1 set Region='North' where serial=8.0
4:update Sheet1 set Region='North' where serial='10.0'
1:0
2:1
3:1
4:1

select * from sheet1
Region JAVA_OBJECT 0 0 0
serial JAVA_OBJECT 0 0 0
null 4.0
Central 6.0
North 8.0
North 10.0
The total row number of resultset: 4

If you failed still, you can upload your xls sample.


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