>So the $64,000 question is: is this just a bug in the MemoPad application
>that has survived ALL this time? Or is the statement that deleted records be
>put at the end of a database a "recommendation" rather than a Palm OS
>"Requirement"?
It has never been a requirement of the OS, but it WAS the behavior of the
built-in apps (I thought, including the Memo Pad, evidently not so
according to you).
> recordH = DmQueryRecord (MyDB, recordNum);
> if (!recordH)
> break; // First deleted record... all done
>....
> recordNum++;
I've always assumed the best way to proceed was like this:
DmRecordInfo(theDB,recordNum,&attributes,NULL,NULL);
isOK=((attributes &
dmRecAttrDelete)!=dmRecAttrDelete);
Steve Patt
President, Stevens Creek Software
http://www.stevenscreek.com/palm
Best PQA ("ePQA"), PalmSource 99
Best Application ("PizzaScan"), Palm Developer's Conference 1998
First printing software for the Palm - September, 1997
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html