The db itself may not have been opened in "write" mode.
Tim Astle <[EMAIL PROTECTED]> wrote in message
news:18156@palm-dev-forum...
>
> > one possible reason, the db is already open. take a look at the error
> code
> > DbGetRecord returned when it failed. I will tell you exactly why.
>
> Do you mean the record is already open? Yes, I already checked that.
This
> section of the code is accessing a database which is not being touched at
> all, unless in another section of the program.
>
> Good idea about the error code check. I just tried to catch the error
> message to see the problem, but it didn't work :-( I'm assuming it's the
> DmGetRecord accessing the file which is causing the error, so after I call
> it, I used DmGetLastErr() and checked it against a list of possible errors
> listed in the Reference guide.
>
> I wish Palm would finally get around to verifying my request for access to
> the source code so I could see exactly what ErrGettingRec on line 5424 is.
>
> +++++++++++++
> Timothy D. Astle
> Embedded Systems Programmer
> ALT Group Inc.
> +++++++++++++
>
> People on Jolt cola write the funniest things.
>
> A-10 Obedience Guide,
> Kitty Hawk Studios
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/