On Mon, 2 Dec 2002, Andy Arhelger wrote:

> I am designing an application that contains 2 different type of records.
> One type of record would contain person type information like name, age,
> birthdate.... Then for each person I will have database records that
> record information about some activity. Let's say this information is
> date, weight, exercise information, ... The question is how do I handle
> the 2 types of data records in my database? Do I put both type of
> records in the same database or is it better to use 2 databases? One for
> the person information and one for the records associated with that
> person? I am new to Palm programming and haven't run across any examples
> yet that show this type of data structure.

Combining them into one database is possible using categories... that's
something I've done before.  That leaves out the possibility of using
categories for something else later on, though, and it takes a bit of work
to get it going correctly.

Either way, the easier way is to use separate databases, one for each
record type.  That's probably the better way to go, too, if you're just
getting started with Palm OS programming.

-- 
-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Truly great madness cannot be achieved without significant intelligence.
   -- Henrik Tikkanen

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

Reply via email to