Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.253
  HXTT Cobol 5.0.252
  HXTT DBF 7.1.253
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.256
  HXTT Json 1.0.224
  HXTT Paradox 7.1.252
  HXTT PDF 2.0.252
  HXTT Text(CSV) 7.1.252
  HXTT Word 1.1.252
  HXTT XML 4.0.253
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
MEMO fields reading problem
Vadym Osadchuk
2006-11-29 08:37:59
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
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
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap