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
MEMO fields reading problem
Vadym Osadchuk
2006-11-29 08:37:59.0
I have a problem with reading data from memo fields:
Database structure is:
KEY CHARACTER 17
MODELID CHARACTER 8
SIGNAT MEMO
DAMAGE MEMO

File type 0xF5 (list of files: PHOTOS.DBF,PHOTOS.DDD,PHOTOS.DDM,PHOTOS.DDX,PHOTOS.FPT,PHOTOS.MDX)

my java code:

PreparedStatement ps4=conn.prepareStatement("select MODELID,SIGNAT,DAMAGE from PHOTOS where KEY=?");
ps4.setString(1,"123");
ResultSet rs=ps4.executeQuery();
while(rs.next()){
byte bdata[]=rs.getBytes(2);
byte bdata2[]=rs.getBytes(3);
//.....
}

I have 2 record in the DBF file with both memo fields filled.
But bdata and bdata2 always null.
Please help me. It' very urgent.
P.s. I'll send to you actual DBF files if you need it.

Thanks,
Vadym Osadchuk




Re:MEMO fields reading problem
HXTT Support
2006-11-29 16:08:03.0
Don't worry. You can zip and upload your database sample into:
ftp site: ftp.hxtt.com
ftp user: anonymous@hxtt.com
ftp password: (empty)
login mode: normal (not anonymous)
ftp port:21
upload directory: incoming
transer mode: binary (not ASCII)
After upload, you can't see that upload file, but it has been upload.

Then we will check and fix that invalid lob information for you.

You can also choose to zip and email your (PHOTOS.DBF and PHOTOS.FPT) files to webmaster.hxtt@gmail.com .




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