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
Trying to Add an Index on the Database
Kit Kennedy
2014-01-27 06:26:47
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
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
Looks like that worked. Thanks so much.

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