|
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
AddExpression (character) |
|
|||||
|
AddFilter (character, character, character) |
/* we just add it to the 1st table - the table position is resolved in all methods
that returns the query */ |
|||||
|
AddFilter (log[], character[], character[], character[]) |
|
|||||
|
CHARACTER BufferWhereClause (character, character, integer) |
Returns the complete query where clause for a specified buffer
INCLUDING leading and trailing blanks.
EXCLUDING commas and period.
Parameters: pcBuffer - Buffer name.
pcWhere - A complete query:prepare-string.
- ? use the current query |
|||||
|
CHARACTER BuildDefaultQueryString (character) |
Return a default query from data (no table options)
------------------------------------------------------------------------------*/ |
|||||
|
CHARACTER BuildFindString (character) |
/* untested and doesn't do anything that you could not do with buildQueryString */ |
|||||
|
CHARACTER BuildFindString (character, character) |
/* untested and doesn't do anything that you could not do with buildQueryString */ |
|||||
|
CHARACTER BuildFindString (handle) |
|
|||||
|
CHARACTER BuildParsedQueryString (character) |
|
|||||
|
CHARACTER BuildQueryString () |
|
|||||
|
CHARACTER BuildQueryString (character) |
|
|||||
|
CHARACTER BuildQueryString (handle) |
|
|||||
|
CHARACTER BuildSortExpression (character) |
/* return sort only for specified tables */ |
|||||
|
LOGICAL CanAddRefTables (character, integer, character) |
/* can pcRefTables be added to piTableLevel entry in a pcTables ordered query */ |
|||||
|
CHARACTER CheckIndex (handle) |
|
|||||
|
ClearFilter () |
|
|||||
|
ClearQuery () |
|
|||||
|
CHARACTER GetCased (character) |
|
|||||
|
CHARACTER GetEvaluation (integer) |
|
|||||
|
CHARACTER GetEvaluationTables (integer, character) |
|
|||||
|
CHARACTER GetParsedQueryTables () |
|
|||||
|
CHARACTER GetTableEvaluation (integer, integer, character) |
|
|||||
|
CHARACTER GetTableExpression (character) |
|
|||||
|
CHARACTER GetUnparsedWhereClause (character) |
/** get the buffer where clause from the unparsed query ..*/ |
|||||
|
CHARACTER InsertExpression (character, character, character) |
Inserts an expression into ONE buffer's where-clause.
Parameters:
pcWhere - Complete where clause with or without the FOR keyword,
but without any comma before or after.
pcExpression - New expression OR OF phrase (Existing OF phrase is replaced)
pcAndOr - Specifies what operator is used to add the new expression
to existing ones.
- AND (default)
- OR |
|||||
|
CHARACTER InsertString (character, character, integer, integer) |
/* workaround for temporary core bug */ |
|||||
|
LOGICAL InsertToQuery (handle) |
/* insert the querystring into the query
- uses mQueryRef IQueryMap:BaseQuery if unprepared
- buffers decide the order (can be different than BaseQuery )*/ |
|||||
|
CHARACTER MaskQuotes (character, character) |
Utility function that masks all quoted strings in the passed string
Parameters: pcString = string that might have embedded quoted strings.
must be syntactically correct - paired single or double.
pcReplaceChar = single char to insert in quoted positions. |
|||||
|
CHARACTER MergeQueryString (character, character) |
|
|||||
|
CHARACTER NewQuerySort (character, character) |
/*------------------------------------------------------------------------------
Purpose : Insert sort criteria (BY phrase) in a QueryString.
Parameters:
pcQuery - Query to add sort to (current sort will be replaced)
pcSort - new sort expression .
------------------------------------------------------------------------------*/ |
|||||
|
ParseQuery (character) |
Parses the logical buffer's target query and stores it for
transformation to the datasource query. |
|||||
|
ParseSortExpression (character) |
|
|||||
|
CHARACTER ResolveColumn (character, integer) |
/* called from parsequery and parseSortExpression */ |
|||||
|
SetQueryString (character) |
/* set querystring */ |
|||||
|
SetSort (character) |
/* ParseSortExpression will transform and set SortExpression property,
which has a protected set */ |
|||||
|
Showdata () |
|
|||||
|
CHARACTER TableEvaluation (integer, character) |
|
|||||
|
CHARACTER WhereClauseBuffer (character) |
Returns the buffername of a where clause expression.
This function avoids problems with leading or double blanks in
where clauses.
Parameters:
pcWhere - Complete where clause for ONE table with or without the FOR
keyword. The buffername must be the second token in the
where clause as in "EACH order OF Customer" or if "FOR" is
specified, the third token as in "FOR EACH order".
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
QueryString () |
/* use as utility - InsertExpression */ |
|||||
|
QueryString (character) |
/* queryWhere is a simple query without any table options like no-lock */ |
|||||
|
QueryString (character, character) |
/* QueryWhere - is a simple query without any table options like no-lock can have query options
like indexed-reposition
Basequery - query to which the QueryWhere and filters should be merged
- provide table options as well as a fixed expressions
- uses BuildDefaultQuery if base query is blank or ? */ |
|||||
|
QueryString (character, IQueryMap) |
/* queryWhere is a simple query without any table options like no-lock
Basequery */ |
|||||
|
QueryString (IQueryMap) |
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
CHARACTER BaseQuery |
|
|||||
|
LOGICAL MergeQuery |
|
|||||
|
CHARACTER QueryOptions |
|
|||||
|
CHARACTER SortExpression |
|
|||||
|
CHARACTER Statement |
|
|||||
|
CHARACTER Tables |
|
|||||
|
LOGICAL UpperCaseKeyWords |
|
Top
AddExpression (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AddFilter (character, character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AddFilter (log[], character[], character[], character[])
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BufferWhereClause (character, character, integer)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildDefaultQueryString (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildFindString (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildFindString (character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildFindString (handle)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildParsedQueryString (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildQueryString ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildQueryString (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildQueryString (handle)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER BuildSortExpression (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LOGICAL CanAddRefTables (character, integer, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER CheckIndex (handle)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClearFilter ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClearQuery ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetCased (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetEvaluation (integer)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetEvaluationTables (integer, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetParsedQueryTables ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetTableEvaluation (integer, integer, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetTableExpression (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER GetUnparsedWhereClause (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER InsertExpression (character, character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER InsertString (character, character, integer, integer)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LOGICAL InsertToQuery (handle)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER MaskQuotes (character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER MergeQueryString (character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER NewQuerySort (character, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ParseQuery (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ParseSortExpression (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER ResolveColumn (character, integer)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SetQueryString (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SetSort (character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Showdata ()
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER TableEvaluation (integer, character)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHARACTER WhereClauseBuffer (character)
|
QueryString ()
|
||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
QueryString (character)
|
||||||||||||||||||||||||||
QueryString (character, character)
|
||||||||||||||||||||||||||
QueryString (character, IQueryMap)
|
||||||||||||||||||||||||||
QueryString (IQueryMap)
|
CHARACTER BaseQuery
|
|||||||||
---|---|---|---|---|---|---|---|---|---|
LOGICAL MergeQuery
|
|||||||||
CHARACTER QueryOptions
|
|||||||||
CHARACTER SortExpression
|
|||||||||
CHARACTER Statement
|
|||||||||
CHARACTER Tables
|
|||||||||
LOGICAL UpperCaseKeyWords
|
Progress® OpenEdge® Release 11.7.15