PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • The result corresponds to an empty string
  • Reading and refreshing the Palm structure
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
Warning
From version 16, this feature is no longer available.
Positions on the last record in the specified access and reads it. In most cases, this function is used to initialize the browse of records found in a Palm Pilot database.
Example
MyMemo is string       // String containing the message found in the notepad
// Opens an access named "JEFFACCESS"
// on the PALM "Notepad" database of JEFF user
IF PalmLoad("JEFFACCESS","JEFF") = False THEN
Error("Error while accessing the PALM database" + ...
ErrorInfo())
EndProgram()
END
MyMemo = PalmReadLast("JEFFACCESS")
WHILE PalmOut("JEFFACCESS")=False
// Process
MyMemo = PalmReadPrevious()
END
// Close the access
PalmClose("JEFFACCESS")
Syntax
<Result> = PalmReadLast([<Access Name>])
<Result>: Character string
  • Value of last record found in the specified access. The Palm structure is refreshed with the content of record read.
  • Empty string ("") if the PALM database is empty or if no record corresponds to the filter that was defined by PalmFilter.
<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

The result corresponds to an empty string

PalmReadLast returns an empty string ("") if the PALM database is empty or if no record corresponds to the filter that was defined by PalmFilter. In this case:

Reading and refreshing the Palm structure

When reading a record, the variables of the Palm structure are automatically refreshed.
The variables of the Palm structure differ according to the Palm Pilot database (defined by PalmLoad).
For more details, see:
Components
WINDEVReports and Queries wd230plm.dll
Linux wd230plm.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment