I am developing an application that needs to save information into a database. This database should only record two fields for each record, so it is very simple, but i just cant get it right.
I would apreciate if you people can help me with some pointers or even code examples. Here's what i've done for this , maybe you can tell me why im wrong:
typedef struct { char Code; float Cant; }xRecord;
xRecord record;
record.Code = '1234568'; record.Cant = 15;
before you worry about the database problems, you should work out how to work with strings.
The line
record.Code = '1234568';
is wrong. record.Code is a single byte, and it looks like you're trying to put a string into or something.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
