PA_QueryDate

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

version 2003


PA_QueryDate (queryRef; tNum; fNum; qOp; qComp; day; month; year)

ParameterTypeDescription
queryRefPA_QueryRefReference of the Query
tNumshortTable number
fNumshortField number to search
qOpPA_QueryOperatorThe query operator
qCompPA_QueryComparisonThe query comparison
dayshortDay of the date to search
monthshortMonth of the date to search
yearshortYear of the date to search

Description

The routine PA_QueryDate 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 date.

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