Define a struct with the three fields:

eg.

typedef struct Person
{
  UInt8 Age;
  char Name[20];
  char Occupation[20];
}

And store the structure in the database.

Regards,
Jacky Cheung


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Saharsh
Shrotriya
Sent: Wednesday, March 21, 2001 5:50 AM
To: Palm Developer Forum
Subject: Database problem


Hi All,

I am asking a very basic wuestion about the databases.. Suppose i have to
create a table having three fields. Say Age, Name, Occupation. Do i have to
create three databases with the name of the fields. or how?

Help me pls.

Thanks.
Saharsh

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


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