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
Parse Index Errors
Richard DeMello
2006-05-15 08:45:22.0
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.0
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
 

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