Deleting a memo

Discuss OrbForms Designer and PocketC Architect

Postby PenreeSoft on Tue Jul 09, 2002 2:33 pm

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
Nicholas J. Penree
Posts: 138
Joined: Sun May 26, 2002 8:14 pm
Location: USA

Postby dewey on Wed Jul 10, 2002 3:21 am

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.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 2 guests