Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.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 Lab of Xi'an City (abbr, HXTT)

HXTT DBF
issue with inserts
Pablo Sortino
2009-03-19 18:45:24
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
# 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
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
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap