PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Variables of the Palm structure
  • Managing a modification 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
PalmModify (Function)
In French: PalmModifie
Warning
From version 16, this feature is no longer available.
Modifies the current record. When the record is read, the data of Palm structure is refreshed. To modify the current record, modify the values of the Palm structure and validate the modifications with PalmModify.
This record is modified in a record view of the Palm database (created by PalmLoad). The modification is directly performed in the database on the current computer.
Example
// An access is opened on the "Notepad" database of the PCS user
// This access is identified by the "MyAccess" string: PalmLoad("MyAccess", "PCS")
...
// A record is loaded in memory by PalmRead
// Modify the subject of this message
palmMemo.Data = "My new subject"
// Applies the modifications in memory
IF PalmModify("MyAccess") = False THEN
Error("Error while modifying the record" +...
"in the Palm database" + ErrorInfo())
END
Syntax
<Result> = PalmModify([<Access Name>])
<Result>: Boolean
  • True if the record was modified,
  • False otherwise. To find out the error details, use ErrorInfo.
<Access Name>: Optional character string with quotes
Name of access previously defined by PalmLoad. If this parameter is not specified, the last access handled by a PALM function is used.
Remarks

Variables of the Palm structure

The variables of the Palm structure used to modify the current record differ according to the Palm Pilot database (defined by PalmLoad).
For more details, see:
Note: PalmModify will return False if the variables are empty.

Managing a modification 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 will have to 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