I ended up using a handle dynamic heap since I needed to be able to cancel the change and allowing the user to directly edit the record made it harder to do this.
Dana
Stephen Klein wrote:
Dana,
Yes, your question does make sense :-) - I believe the answer is 'yes', although I haven't tried this myself yet. The reference manual "Palm OS Reference.pdf" (available on palmsource.com) has a good write-up of just this scenario in its description of FldSetText(). (Note that you should disassociate the database record from the field before the field is free'd when the form is closed so that the data doesn't get freed along with it.)
-- Stephen
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
