Chris,
You forgot to allocate memory for
Char *strPcnt;
The StrNCopy(strPcnt, rec,4) could be writing over something useful.
Dana
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
