On Sun, 17 Nov 2002, Chris Tutty wrote:
> Hi, > > I know I've done something stupid but I can't see what it is > so I'm hoping someone else can offer a suggestion. > > The problem I have is that all of the records I create in a > database I've just added are flagged as deleted. To be more > specific: > DeletedCount = DmNumRecordsInCategory(dbRef, dmAllCategories); > returns the same as > Count = DmNumRecords(dbRef); > > The records are being created using a function I've been using > for some time without problem which calls DmNewRecord > and DmReleaseRecord. I'm not setting a category. > > I'm hoping it's a bug in my db code rather than a memory corruption > of some sort but I'm not sure how I could make this happen. > Any ideas? > > Chris Tutty Doesn't this just mean you've created records in the 'unfiled' category - number in category == number of records ? I see no mention of any 'deleted flag'. Si. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
