For so few items of information you could bypass the use of structures entirely by useing the "Feature Manager". Look up FtrSet() & FtrGet()
-- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! McMicken, Steven wrote in message <[EMAIL PROTECTED]>... > >You could use *saved* or *unsaved* preferences. Look at the Preference >Manager functions, particularly PrefSetAppPreferences. Just pass your >structure to this function and the system will save it for you. > >Regards, > >Steve > >-----Original Message----- >From: Ben Hamby [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 15, 2000 11:12 AM >To: Palm Developer Forum >Subject: Re: Databases > > >Thanks, that did help alot, it was much easier to read than the sample >programs...i've got another question now though, b/c I realized this may >not be the easiest way to do what i want....all i need to really do is >store a few things permanently into memory (ie. pop3 account, username, >password) so that they don't need to be hardcoded into a program but don't >have to be used each time....would it be easier to use something such as >files? > >Thanks, >Ben > >At 11:52 AM 6/15/2000 -0300, you wrote: >>Well, databases aren't that simple from a beginning point of view. I know >>because I've been there :-) >> >>The best I can recommend is for you to take a look at this: >>http://www.palm.com/devzone/docs/pptdg/ch06.htm#TopOfPage >> >>These tips might help: >>- Create your database. >>- Set up your structures as you need data stored. >>- Write your pack and unpack functions for each database you create. >>- Write both Query and Set based functions. The first functions only >>display data to a form, the 2nd functions will allow you to modify data and >>resave it. >>- Write Add and Delete functions as well. >> >>Those are the most core routines needed. The link should more than help >you >>along the way. >> >>-- >> >>Tim Astle >> >> >> >>-- >>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/ > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
