PA_QueryString

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_QueryString (queryRef; tNum; fNum; qOp; qComp; toSearch)

ParameterTypeDescription
queryRefPA_QueryRefReference of the Query
tNumshortTable number
fNumshortField number to search
qOpPA_QueryOperatorSearch operator
qCompPA_QueryComparisonComparison operator
toSearchchar *The string to search in the field fNum

Description

The routine PA_QueryString adds one line of search to the current query being built after a call to PA_OpenQuery. It adds a line of search in a field of type string.

If this is the first line of a search (the first one after calling PA_OpenQuery), qOp must be set to eQO_NoOperator.

Refer to Building a query with the API to learn how to use the routine.

Example

See Building a query with the API.

See Also

Building a query with the API.

Error Handling

PA_GetLastError keeps the last error that occurred before calling the routine.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next