Hi
If u pass wrong index to "DmGetRecord",it says  index out of range.So check
the index which u r passing to the function.Second while syncing to palm
after each sync u need to reset all flags.

Regaeds

Suresh.V
mobile 98480-63343


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Manuel
Col�s Remacha
Sent: Friday, September 14, 2001 4:56 PM
To: Palm Developer Forum
Subject: Null handle on DmGetRecord


Hi everybody,

I got the following problem in my palm app.
- maybe someone has expirience the same ;) -
This app got 7 tables. (One of them is a huge
one with more than 1,500 registers).
When I try to do a "DmGetRecord" it returns
a 0. That means "Record deleted or out of range".
The record can't be deleted, (in fact the "delete bit"
is not set) so the problem should be in the
"out of range" statement. This not happen always
on the same database. When I "resync" the data
to the palm device, the database that didn't work
before can be indexed again (and belive me, the
data retrieved looks fine)

Ok. No panic ! :)

Just 2 questions:

What does mean "Record out of range" ?
How can I avoid this problem ?

However, nothing explained in the documentation
and nothing found on the FAQ neither the Knowledge
base. Somebody can help me ?

Note: I'm using Palm OS 30 SDK, with CodeWarrior 5
on a Palm OS 3.0.

Thanks !

Manuel
[EMAIL PROTECTED]
[EMAIL PROTECTED]

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to