The example shows edit in place to one field, which is also documented in the
Tutorial. How about edit in place to more than one field? I want to use the
free style Form, e.g. label/field. Thanks.
-Elizabeth
|--------+----------------------->
| | harikb@yahoo.|
| | com |
| | |
| | 08/21/00 |
| | 01:38 PM |
| | Please |
| | respond to |
| | palm-dev-foru|
| | m |
| | |
|--------+----------------------->
>-----------------------------------------------------------|
| |
| To: [EMAIL PROTECTED] |
| cc: |
| Subject: Re: Edit in place help |
>-----------------------------------------------------------|
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:21740@palm-dev-forum...
>
> 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 Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/