PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Deletion with archiving
  • Managing a deletion in the Palm database
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
PalmDelete (Function)
In French: PalmSupprime
Warning
From version 16, this feature is no longer available.
Deletes the current record from a view of records for a Palm database (created by PalmLoad). The deletion is directly performed in the database on the current computer.
Example
// Opens an access named "JEFFACCESS" on the PALM database
// "Notepad" of JEFF user
IF PalmLoad("JEFFACCESS","JEFF") = False THEN
Error("Error while accessing the PALM database" + ...
ErrorInfo())
EndProgram()
END
PalmFilter(palmFCategory, "Vacation")
PalmReadFirst()
WHILE PalmOut()=False
IF PalmDelete("JEFFACCESS") = False THEN
Error("Error while deleting the record" + ...
" in the PALM database" + ErrorInfo())
END
PalmReadNext()
END
Syntax
<Result> = PalmDelete([<Access Name> [, <Archive Creation>]])
<Result>: Boolean
  • True if the record was deleted,
  • False otherwise. To find out the error details, use ErrorInfo.
<Access Name>: Optional character string with quotes
Name of the access that was defined by PalmLoad. If this parameter is not specified, the last access handled by a PALM function is used.
<Archive Creation>: Optional boolean
  • True to delete the record and to archive the record in an archive file. This archive file can be handled by the "Palm Desktop".
  • False (default value) to delete the record directly (without creating an archive for the record).
Remarks

Deletion with archiving

If the "MyMemo" record found in the "PCS" category is deleted with archiving, the "MyMemo" record will be copied into a file named PCS.MPA.
An archive file is created per category of deleted record.

Managing a deletion in the Palm database

Tip: Before modifying the database, we advise you to perform a backup copy of the database (with fCopyFile for example). A backup copy is automatically performed before the synchronization (memodat.bak file).
Note: When running the WINDEV application, you have the ability to:
  • synchronize the Palm
  • start and use the Palm Desktop. Caution: if modifications are performed in Palm Desktop, the data found in the WINDEV application must be updated by PalmRefresh.
If the database was modified by the WINDEV application, the Palm Desktop application is automatically notified of this modification and it is automatically updated. The data modified by the WINDEV application is refreshed in real time.
Components
WINDEVReports and Queries wd230plm.dll
Linux wd230plm.so
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment