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
issue with inserts
Pablo Sortino
2009-03-19 18:45:24.0
When I make an insert (from the hxtt driver) in a dbf table looks like the index became corrupted!

after a sql insert with the driver -- > insert into fmcc01 (operac, secuen, nrocuo, impcuo) VALUES (15, 1, 1, 15.50)

IF I made from vfp6:

1)
USE fmcr01.dbf SHARED
brow

2)
USE fmcr01.dbf SHARED
set order to operac
brow

Results:
1) Works ok
2) Looks like the index is corrupted

Note: There is a legacy system running with vfp and the inserted records are not showed if I do not make a reindex from VFP
Note 2: I sent you an email with subject "issue with inserts" with the database already corrupted


Thanks in advance,
Pablo
Re:issue with inserts
HXTT Support
2009-03-19 20:03:39.0
# v4.2.052 fixed an insert bug on CDX index since v4.2.039.
# v4.2.040 supports EVALUATE(cExpression).
# v4.2.039 solved a CDX multiuser compatibility issue with VFP, which VFP will produce specific duplicated index information sometimes on mulituser mode.

You should be using v4.2.022, please download the latest package, and remember to use lockType=VFP connection property. For corrupted index, you can run once "reindex all on fmcr01;" to rebuild it.
Re:Re:issue with inserts
Pablo Sortino
2009-03-20 18:50:34.0
I have still same issue.
I was already using the 4.2.052 version of your driver

If I try to get the index information from (Squirrel SQL) while "Microsoft Visual Fox Pro 6" is using a database (even 'SHARED').
The driver give me the following error:

java.sql.SQLException: Failed to load table fmcc01! For more information, please use SQLException.getNextException().
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.dbf.i.long(Unknown Source)
at com.hxtt.sql.dbf.i.goto(Unknown Source)
at com.hxtt.sql.dbf.c.a(Unknown Source)
at com.hxtt.sql.dbf.c.(Unknown Source)
at com.hxtt.sql.dbf.u.a(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.dbf.u.if(Unknown Source)
at com.hxtt.sql.a.getIndexInfo(Unknown Source)


If I try the same, but without VFP 6 running the driver works ok and return the index informartion.

Note: I tested using lockType=VFP, lockType=XBASE, lockType=FOXPRO, lockType=FOXBASE and without lockType --> All the same issue.


Please help me,
Cheers,

Pablo.

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