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
Parse Index Errors
Richard DeMello
2006-05-15 08:45:22
When trying to access information in the PERSON table I get the following errors from the driver. I have tried both 2.0 and 3.0 software versions. I think this use to work?

05/15 11:43:31.67 Debug(TPConnection):ExecuteQuery. Person query:SELECT P_PERKEY, P_ATYPE, P_ACOUNT, P_DISPLAY, P_NAME, P_DOB, P_STREET, P_CITY, P_STATE, P_ZIP, P_COUNTRY, P_PHONE, P_CURRENTA, P_ADDRDATE, P_TYPE, P_RACE, P_SEX, P_HAIR, P_EYES, P_HEIGHT, P_WEIGHT, P_DLNO, P_DLSTATE, P_SSNO, P_FBINO, P_SIDNO, P_PHOTO, P_PHOTDATE FROM PERSON WHERE P_NAME ILIKE 'BETZ%' and P_SEX='F'
05/15 11:43:31.69 Error: ExecuteQuery. Retry:4 Caught exception:
java.sql.SQLException: Can't parse index expression PadR(ExtractData(P_DLNo), 25) + upper(P_DLState)
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.dbf.v.a(Unknown Source)
at com.hxtt.sql.dbf.b.do(Unknown Source)
at com.hxtt.sql.dbf.b.(Unknown Source)
at com.hxtt.sql.dbf.b.a(Unknown Source)
at com.hxtt.sql.dbf.DBFIndex.a(Unknown Source)
at com.hxtt.sql.dbf.DBFIndex.(Unknown Source)
at com.hxtt.sql.dbf.DBFIndex.a(Unknown Source)
at com.hxtt.sql.dbf.i.a(Unknown Source)
at com.hxtt.sql.dbf.d.a(Unknown Source)
at com.hxtt.sql.dbf.d.(Unknown Source)
at com.hxtt.sql.dbf.u.a(Unknown Source)
at com.hxtt.sql.be.if(Unknown Source)
at com.hxtt.sql.cx.a(Unknown Source)
at com.hxtt.sql.cx.a(Unknown Source)
at com.hxtt.sql.be.a(Unknown Source)
at com.hxtt.sql.be.a(Unknown Source)
at com.hxtt.sql.ab.a(Unknown Source)
at com.hxtt.sql.ab.a(Unknown Source)
at com.hxtt.sql.ab.executeQuery(Unknown Source)

Do you have any ideas?


I also tried to reindex manually (after the customer used the options in the application to reindex) Still same error?

05/15 11:36:21.74 Debug(GlobalLEIN_emudps):ExecuteQuery. reindex:REINDEX ALL ON PERSON;
05/15 11:36:21.75 Debug(TPConnection):ExecuteQuery. reindex:REINDEX ALL ON PERSON;
05/15 11:36:22.00 Error: ExecuteQuery. Retry:0 Caught exception:
java.sql.SQLException: Failed to reindex file for Can't parse index expression PadR(ExtractData(P_DLNo), 25) + upper(P_DLState)
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.be.a(Unknown Source)
at com.hxtt.sql.be.a(Unknown Source)
at com.hxtt.sql.ab.a(Unknown Source)
at com.hxtt.sql.ab.a(Unknown Source)
at com.hxtt.sql.ab.a(Unknown Source)
at com.hxtt.sql.ab.executeUpdate(Unknown Source)

Richard DeMello
Re:Parse Index Errors
HXTT Support
2006-05-15 09:40:25
That's resulted by an unknown function ExtractData(P_DLNo). What's your ExtractData function? You need to read Extend SQL functions
. After complemented that ExtractData function, HXTT DBF can index/reindex that index normally. If you don't know to extend SQL function, please let us know that meanings of ExtractData, then we will show you a sample.

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