The only way I know to do this is to query the record because the size of its handle will tell you the record's current size. For example (untested): Handle hRecord = DmQueryRecord(db, index); UInt32 currentSize = MemHandleSize(hRecord); DmResizeRecord(db, index, currentSize + additional_length); Cheers, James. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of JF Sent: Tuesday, 10 July 2001 13:44 To: Palm Developer Forum Subject: Length (size) of a Database record If I have an index of a database record, is there an easy way to find the size (length) of it? I want to do a DmResizeRecord, but all I have is the additional length I want to shrink or add to it.. As in: DmResizeRecord(db, index, original_length + additional_length); I am missing original_length and need to find it. Thanks! Jason -- 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/
