Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Codebase > Data4's Seek me...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 302 of 307
Post > Topic >>

Data4's Seek method hanging indefinitely

by abubakarm@[EMAIL PROTECTED] Jun 9, 2008 at 08:14 AM

Hi all,
through codebase I have a *.dbf file. I have got this file from a
friend's pc (i also have this file's *.cdx file). In my code, which
works perfect on other similar files, there is a Data4 object called
"datafile" and when i call its method seek(char *), the call never
returns from this seek method. It seems the file that I got from my
friend's pc is somehow corrupt in some way that is hard to find out.
If I open this file in CDBF Viewer (version 1.35) the files open
properly and shows all the data rows. Also an im****tant thing is that
although the seek method is not working, if i call datafile.positon
method, it works just fine (no hangs like the seek method).

Can someone plz tell me what maybe wrong with these files and why is
the code not returning from the seek method? How can I detect any
corruption of file, is there a built way in codebase to deal with
this?

Regards,

,,ab
 




 1 Posts in Topic:
Data4's Seek method hanging indefinitely
abubakarm@[EMAIL PROTECTE  2008-06-09 08:14:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 7:49:16 CDT 2008.