Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.252
  HXTT Cobol 5.0.251
  HXTT DBF 7.1.252
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.255
  HXTT Json 1.0.223
  HXTT Paradox 7.1.251
  HXTT PDF 2.0.251
  HXTT Text(CSV) 7.1.251
  HXTT Word 1.1.251
  HXTT XML 4.0.252
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 | Sitemap