I've retrieved the record and used MemHandleSize with success.
-----Original Message-----
From: Danko Radic <[EMAIL PROTECTED]>
To: 3com Palm Pilot Developers Forum <[EMAIL PROTECTED]>
Date: Tuesday, May 25, 1999 7:49 PM
Subject: determine record's size
>It might sound silly (and I might slipped something from manual) but how
>to determine size of the DM record (what's the best way)?
>
>Let's suppose that I generate data (bytes) and I store it (these bytes
>one by one) into record by DmSet and record is resized each time by 1
>byte. After some data storing I'd like to know how big has my record
>become.
>
>Is locking record's data (MemHandleLock) and then MemPtrSize the right
>way?
>
>
>Second: I'd like to make sure if Dm record attached to text field (Fld) is
>resized AUTOMATICALLY when I write into field and close that field. It
>acts as if it is (I create small record and write more text than it's
>size is into field, and it's stored well). I'd just like someone who knows
>for sure to say if that's correct or not.
>
>
>