Hi all

I created a data structure such as:

typedef struct
{
        const char *company;
        const char *category;
} DS;

and then set the default memory block such as:

static DS DefaultDS =
{
        "Starbucks",
        "Coffee"
};

Does this actually put "starbucks","coffee" into the DS struct(1st record)
so that when I 'DmQueryRecord' the 1st record it should return these 2
fields? It does not seem to work, what exactly does the "static DS DefaultDS
= " part do if not what I thought it does?

If I can not add into my database in this way, then is there a simpler way
then using dmSet or something like that?


thanks
Milan


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to