On Sat, 1 May 1999, Kenneth Albanowski wrote:

> On Fri, 30 Apr 1999 [EMAIL PROTECTED] wrote:
> 
> > I am trying to read (in a Palm application) records that are marked deleted
> > by DmArchiveRecord() (i.e., the record content is still kept).
> > I tried DmGetRecord(), but it didn't work, as the returned handle is 0.
> > 
> > Could anyone tell me how to do this? (again, I am trying to read these
> > records
> > on Palm device, not from hotsync).
> 
> The contents of deleted records are _not_ kept -- the handle is 0 because
> the record contents have been removed.
> 
> Contents are only retained for archived records.

Oops, my reading comprehension is not up to par. I thought you should be
able to read the contents of the archived record with DmGetRecord(). If
not, you might need to use DmSetDatabaseInfo() to remove the Delete
attribute on the record.

One other thing that might be causing a problem is that DmArchiveRecord()
moves the record to the end of the database.

-- 
Kenneth Albanowski ([EMAIL PROTECTED], CIS: 70705,126)


Reply via email to