And we have a winner ...
When I converted my application from using global data structures to using a database, I continued to call the converted cleanup function in the stop application function. Thanks, Kevin. I said it was a dumb question. alan ---Original Message--- From: "Palm Developer Forum" <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Date: Thu, 7 Mar 2002 13:00:17 -0500 Subject: RE: Dumb database question Are you deleting them on cleanup? Are you sure you're opening the same database? Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:43 AM To: Palm Developer Forum Subject: Dumb database question I am seeing some weird database behavior in my application and was wondering if anyone has a bright idea why it is happening. Without providing large portions of my application here, I am not sure how to provide example code. My application creates the database, adds application info and adds records. It can access the records and DmNumRecords() returns expected numbers. Then I tap on the silk-screened Applications button and then tap on my application's icon and attempt to load the database created above. I can successfully load the database and access the application info. However, DmNumRecords() returns 0. Where did my records go? Any clues as to what I may have left out? alan -- 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 Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
