On Mon, 3 Dec 2001, Johnathan Smith wrote:
> After saving the data to the database I am using the palm program
> insider to view the data and I am seeing some funny text. Below is the
> code that saves the data to the database is this right??
Aside from the lack of error checking, it looks fine to me.
> Why is insider showing funny text on the lines??
Possibly because you're not clearing out the record structure. Are you
getting the "Row 1" or whatever that you're expecting, then a null byte,
then the funny text? If so, then you have nothing to worry about. If you
want to get rid of it, though, you can put something like this before the
StrPrintF call:
MemSet(&tempRec, sizeof(tempRec), 0);
That will clear out the structure, then you can do what you want with it.
----------------------------------------------------------------------
Brian Smith // [EMAIL PROTECTED] // http://www.arthurian.nu/
Software Developer // Gamer // Webmaster // System Administrator
There are no stupid questions, but there are a LOT of inquisitive idiots.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/