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
Trying to Add an Index on the Database
Kit Kennedy
2014-01-27 06:26:47.0
My Colleagues are trying to add an index on the FoxPro Database to help in a completely separate application. One that does not use your driver, but every attempt they have made has failed. Please read the error messages below. The error messages occur when I use your driver to run a simple query on the MODET table in the database.
Do you have any suggestions or comments?

Each set of error messages represents different indexes. The first line of each set of error messages is the new index they are trying to add.

Error Messages:

Error code 270336, SQL state 42000: Can't parse index expression BETWEEN(status,"3","5").AND.zprtype="COMP"
Error code 270336, SQL state 42000: Can't parse BETWEEN(status,"3","5").AND.zprtype="COMP"!
Error code 172032, SQL state 2A000: Syntax error: Stopped parse at .(id21)


Error code 270336, SQL state 42000: Can't parse index expression BETWEEN(status,"3","5").AND.zcomp=.T.
Error code 270336, SQL state 42000: Can't parse BETWEEN(status,"3","5").AND.zcomp=.T.!
Error code 172032, SQL state 2A000: Syntax error: Stopped parse at .(id21)


Error code 270336, SQL state 42000: Can't parse index expression BETWEEN(status,"3","5").AND.INLIST(desc,"COMPR")
Error code 270336, SQL state 42000: Can't parse BETWEEN(status,"3","5").AND.INLIST(desc,"COMPR")!
Error code 172032, SQL state 2A000: Syntax error: Stopped parse at .(id21)


Error code 270336, SQL state 42000: Can't parse index expression BETWEEN(status,"3","5").AND.LIKE("COMPR*",desc)
Error code 270336, SQL state 42000: Can't parse BETWEEN(status,"3","5").AND.LIKE("COMPR*",desc)!
Error code 172032, SQL state 2A000: Syntax error: Stopped parse at .(id21)


Error code 270336, SQL state 42000: Can't parse index expression BETWEEN(status,"3","5").AND.SUBSTR(ALLTRIM(desc),1,5)="COMPR"
Error code 270336, SQL state 42000: Can't parse BETWEEN(status,"3","5").AND.SUBSTR(ALLTRIM(desc),1,5)="COMPR"!
Error code 172032, SQL state 2A000: Syntax error: Stopped parse at .(id21)
Re:Trying to Add an Index on the Database
HXTT Support
2014-01-27 07:16:19.0
Try
zprtype="COMP" .AND. BETWEEN(status,"3","5")
to avoid between (expr1) and expr2
Re:Re:Trying to Add an Index on the Database
Kit Kennedy
2014-01-27 07:37:30.0
Looks like that worked. Thanks so much.

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