Dana,
That was it...thanks!
Chris
"Dana Long" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Chris,
>
> I don't think StrNCopy() null terminates the string for you if it
> exceeds the length you specify.
>
> Dana
>
> Chris Hall wrote:
>
> >I have written some code to load some data into the handheld for testing
> >purposes. I am trying to mimic a situation where I will be reading in a
> >fixed record and writing the data as strings into individual database
> >fields. When I watch this process thru the emulator, I am confused at
the
> >string lengths it is telling me that I have for each field.
> >
> >For example, the CustNo should be a string with length of 5..... the
> >emulator says it has length 73. What have I missed here? And is there a
> >better way to do this?
> >
> >Thanks so much
> > Chris
> >
> >
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/