"Johnathan Smith" <[EMAIL PROTECTED]> wrote in message news:66260@palm-dev-forum... > > Below is a listed on my code that will put a number in > a text field and display a Dialog Form. The form > displays right and the user can enter the new number > but on the way back drow shows the right number in the > debugger but return_drow gets set to 3 and > return_weight gets set to 0 > > Can someone please help > > static void displayRowOptions() > { > Char drow[5]; > Char return_drow[5];
[snip] > StrPrintF( return_drow, "%d", drow); This call to StrPrintF might be your problem. Your format string is "%d," so StrPrintF is interpreting the third argument as an integer. But you're passing a string. Eric W. Sirko Softworks Solutions, LLC -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
