in the psuedo code below, I am resizing a record when I save it due to added
information.
The resize works, the writes all happen, but when I re-get the record, it is
the old information. Any clues?
handle = DmGetRecord(db,num)
handle = DmResizeRecord(db,num,newsize)
ptr = MemHandleLock(handle)
{
writes
}
MemHandleUnlock(handle)
DmReleaseRecord(db,num,true)
Now in a debugger I see the the new info is being written to the database,
but when I come back into the record, it loads the old information.
Is there something I am not doing to allow me access to the new data?
~
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/