I don't see any other problems here. Perhaps something's corrupting the field values somewhere else in your code?I assume that the only way I could corrupt the values would be by setting them, and this only occurs in this routine.
Since you're using a debug 4.1.2 ROM, you should get notified if you're doing anything wrong that could corrupt the form. Older ROMs didn't have checks that could detect things like copying over a really long label, which would overwrite other form structures.
-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
