Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  Buy Now
  HXTT XML v2.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 Ltd. of Beijing City (abbr, HXTT)

CSV header not present when creating a table.
2005-03-14 00:00:00.0
When creating a new table with:

CREATE TABLE chk (businessmode CHAR(14),"first name" char(16),"last name" char(18), company char(50),trade CHAR(35), address char(30), address2 char(30), city char(19), flag char(2),ID char(7),serialNO numeric(6,0),_CSV_Separator char(1) default ',', _CSV_Quoter char(1) default '"',_CSV_Header boolean default true)

I see no header line in the created CSV file.

I also set the property
Properties props=new Properties();
props.put("_CSV_Separator ", ",");
props.put("_CSV_Quoter ", "\"");

prior to creating the table with same effect.

Re:CSV header not present when creating a table.
HXTT Support
2005-03-14 00:00:00.0
Dear Rodolfo,

The main usage of _CSV_Header is used to read header row and data rows from other applications' CSV files. HXTT Text won't add a CSV header when it create new CSV table, so that the preferable value for _CSV_Header is false. If you wish HXTT Text to add a header row into the new CSV table, please let us know. Your suggestion is welcome.

With best regards,

Dai Wei
Re:Re:CSV header not present when creating a table.
Rodolfo Martin
2005-03-14 00:00:00.0
Thank you for so fast response. I was afraid of that, but also might missed something.

best regards

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap