Hi All,
How can I clear a field when my recordP.address is empty. Right now, if I
have a record with no address it displays the value of the previous record.
if (recordP.address && *recordP.address)
{
h = MemHandleNew (StrLen (recordP.address) + 1);
p = MemHandleLock (h);
StrCopy (p, recordP.address);
MemPtrUnlock (p);
fld = GetObjectPtr (fldAddress);
FldSetTextHandle (fld, h);
}
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/