Hi all

I have this data structure:
typedef struct
{
        const char company [20];
        const char category [20];

} myDS;
------------------------------

and try to update it:
static myDS DefaultmyDS =
{
        "Starbucks",
        "Beverages",
};
------------------------------

and even like this:
DmSet (appInfoP,0,20,*"ABCDEFGHIJKLMNOPQRST");
------------------------------

but when I try to load that record into a table:
recordH = DmQueryRecord(StoreDB, recordNum);
------------------------------

it never finds the data in any of the records. Why is that, what am I doing
wrong? recordH is always null. In the samples it shows how to insert records
from a text field the user enters through grafiti, but how can I do that
manually from code if the above is not correct?


Thanks alot
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