Page 1 of 1

PostPosted: Tue Jul 09, 2002 2:33 pm
by PenreeSoft
Hi all,
When I delete a memo using the following code
<pre id=code><font face=courier size=2 id=code>
void deleteMemo() {
if(confirm("Delete '"+Source+"'?"))
alert("Memo deleted.");
else{alert("Please select a file!");}
</font id=code></pre id=code>
it stays on the desktop with the following error in the log file:
"-- Memo Pad
- Some handheld records were not copied to your PC. Your computer may be full or you may have reached the maximum allowed records on the desktop. To correct this situation, delete some records and perform a HotSync operation again.
Desktop = 1, Handheld = 0"

Nicholas J. Penree

Edited by - PenreeSoft on 07/09/2002 09:37:21

PostPosted: Wed Jul 10, 2002 3:21 am
by dewey
Memo.remove() completely removes the memo record from the memo database without leaving a trace. If the record exists on the desktop, it will get confused on the next sync.

As a workaround, you can open the memo database with the Database object and call Database.delrec() to delete it and flag it as deleted for the next sync.