![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_122.png)
21-8
Database Management Tools
Programmer’s Manual
This tool is useful for implementing searching on the record list.
The database referred to must be a valid object in the PPSM environment.
21.10
DBGetNextRecID
Syntax
STATUS
DBGetNextRecID
(U32 dbId, U32 recId P_U32 nextID P_U16
botListFlag)
Description
Gets the identifier of the record following the specified record. If the specified
record is the last record, nextIDreturned will be the same as recId and the
botListFlagwill be set.
Parameter
Return Value
Hint
This tool is for implementing searching on the record list.
The database and record referred to must be valid objects in the PPSM
environment
21.11
DBGetPrevRecID
Syntax
Name
Description
dbId
Identifier of the database
recId
Identifier of specified record
nextID
Returns the identifier of the next record
botListFlag
TRUE if the record identified by recIdis
the last record
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_RECID
Invalid record identifier
Personal Portable System Manager
Programmer’s Manual
21-9
STATUS
DBGetPrevRecID
topListFlag
Description
Gets the identifier of the record fore-running the specified record. If the
specified record is the first record, the
recId and the topListFlag
Parameter
Return Value
Hint
This tool is useful for implementing searching on the record list.
The database and record referred to must be valid objects in the PPSM
environment.
21.12
DBReadData
Syntax
STATUS
DBReadData
Description
Reads the formatted
Name
Description
dbId
recId
prevID
topListFlag
Name
Description
PPSM_OK
Successful operation
PPSM_ERROR
Unsuccessful operation
PPSM_ERR_DB_DBID
Invalid database identifier
PPSM_ERR_DB_RECID
Invalid record identifier
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.