PA_QueryDate


version 2003


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

Parameter Type Description
queryRef PA_QueryRef Reference of the Query
tNum short Table number
fNum short Field number to search
qOp PA_QueryOperator The query operator
qComp PA_QueryComparison The query comparison
day short Day of the date to search
month short Month of the date to search
year short Year 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.