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 > Setting File Le...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 297 of 306
Post > Topic >>

Setting File Length

by =?ISO-8859-1?Q?Fernando_G=F3mez?= <fernando.a.gomez.f@[EMAIL PROTECTED] > May 5, 2008 at 08:23 AM

Hello. I have this code:

Data4* data;

data = new Data4(_db, fullPath.c_str());

if (data->seek(t.GetId()) == r4success)
{
    data->deleteRec();
    data->pack();
}
data->close();

delete data;

When I get to the data->pack thing, it throws me the following error:

Error #: -40
Error #: 90606
Setting file length file4lenSet \storage card\db\employee.dbf

Why's that? It's a simple pack, don't understand why such error is
displayed. And furthermore, there's no do***entation about that error
in the manuals and reference book. Does anyone have a clue?

I'm working with CB 6.5 for Visual C++ 2005, for Windows Mobile 5.

Thanks in advance.
 




 2 Posts in Topic:
Setting File Length
=?ISO-8859-1?Q?Fernando_G  2008-05-05 08:23:17 
Re: Setting File Length
Andrew Clay <andy@[EMA  2008-05-05 22:41:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Thu Jul 24 14:26:28 CDT 2008.