PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Reading and refreshing the Palm structure
  • The result corresponds to an empty string
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 first 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 = PalmReadFirst("JEFFACCESS")
WHILE PalmOut("JEFFACCESS")=False
// Process
MyMemo = PalmReadNext()
END
// Close the access
PalmClose("JEFFACCESS")
Syntax
<Result> = PalmReadFirst([<Access Name>])
<Result>: Character string
  • Value of first 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 that was defined by PalmLoad. If this parameter is not specified, the last access handled by a PALM function is used.
Remarks

Reading and refreshing the Palm structure

When reading a record, the variables of the Palm structure are automatically refreshed.
The variables of Palm structure differ according to the Palm Pilot database (defined by PalmLoad).
For more details, see:

The result corresponds to an empty string

PalmReadFirst 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:
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