The error message you're seeing ("Err getting rec") could be caused by
several things. The actual error can be determined by calling DmGetLastErr.
It'll either be dmErrIndexOutOfRange (if the index is bad) or
dmErrRecordBusy (if the record was already busy from a previous call to
DmGetRecord without a matching call to DmReleaseRecord. Is there some reason
why you're not just calling DmGetRecord when your edit form starts up?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html