Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  Buy Now
  HXTT Excel v6.1
  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)

using cdx index dbf
jose huaraya
2012-02-28 12:47:22.0
hi: i have a fox 2.6 database with cdx indexes as show bellow:
key: dtoc(us_birth,1)+us_name+us_prof
so in fox i can do this query "select * from database where dtoc(us_birth,1)+us_name+us_prof='2012'", but using HXTT DBF V. 3 doesn't work, what i'm doing wrong.
Please could you help me
Re:using cdx index dbf
HXTT Support
2012-02-28 17:09:27.0
>select * from database where dtoc(us_birth,1)+us_name+us_prof='2012'
select * from database where dtoc(us_birth,1)+us_name+us_prof like '2012%'
Then HXTT DBF will utilize index to get your result.
Foxpro's syntax is not standard SQL syntax. = means == in SQL.
Re:Re:using cdx index dbf
richard quispe
2012-02-29 12:39:18.0
hi: i was trying also with 3.0v but does not support '%', how can i solve this problem
Re:Re:Re:using cdx index dbf
HXTT Support
2012-02-29 16:46:03.0
Do V3.0 means HXTT DBF JDBC 3.0 packge v5.1? In my test, it supports your sql sample.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap