It looks like you're unpacking the record correctly, but not using the
unpacked record to initialize the itemlist.  If you want to copy the
unpacked student name, change your MemMove to:

MemMove(itemlistT[indx], theStudent.Name, StrLen(theStudent.Name)+1);

Also, it looks like you hve two MemHandleLock's and only one
MemHandleUnlock.  You shouldn't need to lock the handle twice.

-Jason

----------------------------------------------------
This mailbox protected from junk email by Matador
from MailFrontier, Inc.  http://www.mailfrontier.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to