Hi all,

I have a program that copies a decimal value between 50 and 150 From an field to an 
other field. I get the user input. Save the data in a CharPtr. In the debugger is see 
the value coming in the memory. So far so good. Then I switch to an other Form and 
Want to put the Value in that Screen. I would think that would be easy. I use 
FldInsert. But When the Functions starts the Pointer to the Char is gone. It Points \0 
and the Char is empty. I have tried all kinds of things. How is this possible. 
Is it possible to exchange data between fields, It should be, or not.

It is just driving me crazy, I tried all kind of things. I just don't know how to 
handle this. When I assign my own value to the CharPtr, like this CharPtr Pulse = 
"60"; everything goes allright and the figure is printed in the Field. Has It 
something to do with the FieldPtr that doesn't exist anymore when you are in another 
Field.

HELP ME,

Thanks already, Patrick Heynen


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to