Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v4.2
  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 DBF
dbf and ntx indexes
jonatan
2013-08-08 08:07:24.0
hi, i have one DBF table and 12 NTX index files, i'm using the jdbc and i wanna know how can i define the index file to use in my program.
Thanks
Re:dbf and ntx indexes
HXTT Support
2013-08-08 16:46:41.0
>12 NTX index files
1st solution:
Incremental Index connection propertyy: Indicates to support naming scheme for tablen.* (table0n.*, table00n.*) (n:1~9). You can use null, "IDX","CDX","NDX","MDX", and "NTX" now. For instance, you have a table P2FSACX.DBF which has indices of P2FSACX1.NTX and P2FSACX2.NTX, but you haven't a CGP file to load two index, you can set that property to NTX.

2nd soluction:
Clipper's CGP file has been supported. You can use a text editor to browse and modify CGP file. For the nonstructural index file which hasn't the same file name as its table name and is created by other xbase applications, you can:
run the DBFIndex once to supply the necessary index file information. You can use "java com.hxtt.sql.dbf.DBFIndex" to find out how to supply existent index files. Useage: java com.hxtt.sql.dbf.DBFIndex dbfTablePath tableName indexFileFullName1 [indexFileFullName2 ...]. For instance, you have a legacy 'product.dbf' file with prodname.idx, prodprice.idx and orderdate.idx on "c:\proudct\data" directory, you can run "java com.hxtt.sql.dbf.DBFIndex c:\proudct\data product prodname.idx prodprice.idx orderdate.idx" once.

Then DBF will create a special table.CGP file and maintain the index files automatically. Then DBF will create a special product.CGP file and maintain the index files automatically.

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