Goto ...\CW for Palm OS R6\Palm OS Examples\Palm OS 3.x\Memo\Src See MemoMain.c (EditViewLoadRecord(), EditViewSaveRecord() & EditViewHandleEvent() - frmOpen & Close events )
You have to detach it on frmCloseEvent ( FldSet???Handle(fldP, NULL)...) and then free the record (if needed) yourself. If you do it yourself, you will get a chance to call DmReleaseRecord(). If the form-routines free the memory ( & they will if you don't set the handle to NULL), the record will always be marked busy and your program will crash on next "edit". "Michael P. Hutchens, M.D., M.A." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Does anyone have any source (demonstrating the concept) or better > reference than Rhodes & McKeehan on editing a database record in > place? > > I am doing what I think is exactly what Rhode & McKeehan suggest on > page 156 and not getting the anticipated result. I'm not quite sure > I understand the concept either; in particular I wonder what happens > to a handle that's allocated and attached to a database record in a > form event handler when the event handler routine is exited. > > I'd appreciate any pointers; I'll spare you all my source code. > -- > -------------------------------------------------------------------------- ---- > Michael Hutchens PregCalc, Ranson, FloChart > [EMAIL PROTECTED] http://www.thenar.com > > Please quote previous correspondence when discussing technical support issues. > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
