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
Incorrect width of numeric field after create
Sergeus
2008-06-27 05:23:16
Hello,
I want create table, using HXTT DBF 3.0.
Execute SQL-query:

CREATE TABLE info (A NUMERIC(2,0), B NUMERIC(2), C NUMERIC(4,2)))

In result DBF-file have following fields:

A width 4 decimal 0
B width 2 decimal 0
C width 4 decimal 2

Help me, please... I using licence HXTT DBF 3.0.
Re:Incorrect width of numeric field after create
HXTT Support
2008-06-27 06:03:18
For small scale in DBF, it will used extra 2 length to avoid no space for radix point and sign.
Re:Re:Incorrect width of numeric field after create
sergeus
2008-06-27 06:08:50
so, but i need field with width = 2

Which SQL-script i should write?
Re:Re:Re:Incorrect width of numeric field after create
sergeus
2008-06-27 06:18:58
Also on, in previous version of driver file was created succesfully
Re:Re:Re:Re:Incorrect width of numeric field after create
HXTT Support
2008-06-28 02:52:02
Because some users need to convert it to other database, so we do those modification. You can download the latest package, then try:
CREATE TABLE info (A NUMERIC(2,0), B NUMERIC(2), C NUMERIC(4,2))

Re:Re:Re:Re:Re:Incorrect width of numeric field after create
sergeus
2008-06-29 23:54:00
Thank's, but i have one question yet:

running script
CREATE TABLE info (A NUMERIC(2,0), B NUMERIC(2), C NUMERIC(19,2))
in result
A width 2 decimal 0
B width 2 decimal 0
C width 20 decimal 2 (!!!!) Why??

correct this, please
Re:Re:Re:Re:Re:Re:Incorrect width of numeric field after create
HXTT Support
2008-06-30 01:37:33
>correct this, please
It's still using special process for Xbase. If you need wide 19, you should use
CREATE TABLE info (A NUMERIC(2,0), B NUMERIC(2), C NUMERIC(18,2))
No more correct for data convert compatibility.

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