Hi all

I'm trying to create a PDB using the Sales Sample thats on the Dev
Zone. http://www.palm.com/devzone/docs/pptdg/ch06.htm#P615_35697

The sample shows the below 2 structs for creating a Customer table.
Do I really need those 2 structs to create one table? Can't I just
use the bottom one and not do the "packing" and "unpacking" they are
using? What is the purpose of doing it as they did?

I don't suppose anyone has a small sample of an actual mutlicolumn table ap
that works?

Thanks alot
Milan

----------------------------
typedef struct {
        SDWord customerID;
        char  name[1];
} PackedCustomer;

typedef struct {
        SDWord      customerID;
        const char *name;
        const char *address;
        const char *city;
        const char *phone;
} Customer;





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