Can someone PLEASE, PLEASE, give me the scenario of what goes on behind the
scenes in creating a note.  I get confused when trying to save the data and
return to the previous form. I don't completely understand the concept of
appending the note data to the current open record.

The way I do it now is :
during forminit // the form is opening  

SetFieldText( LoginMiscField, record.miscfield ); // this sets the field
data from the database

when the form closes (tapping the 'Done' button)
it does         item.miscfield = FldGetTextPtr( GetObjectPtr( LoginMiscField
)); // this gets the field data from the field.

I then do a Packrecord that does the necessary DmWrites to the record.

This is all fine and I understand what is going on, my problem/question
comes from how do you save the data that was entered into the NoteForm
(going from the LoginForm to the NoteForm by pressing the Note button)?  If
I try to do the "SetFieldText( NoteNoteField, record.notefield ); or the
item.notefield = FldGetTextPtr( GetObjectPtr( NoteNoteField )), I receive a
"Object not in form error. Do I append the Note data somehow or what?  I
would be more than glad to send a more complete code snip if needed.


Regards,
Kevin 

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

Reply via email to