Programming with Reflection
GetSQLStatement method
Syntax Statement = object.GetSQLStatement(Type)
Returns a portion of the current SQL query. The returned string is the complete, current query for the specified query type. This method applies to AS/400 data transfer only, and is only relevant during 5250 sessions.
Type Argument type:
Argument type: Enumeration
Specifies an SQL query type. Possible values are :
rcAS400Select
rcAS400Where
rcAS400OrderBy
rcAS400Having
rcAS400GroupBy
rcAS400JoinBy
See SetSQLStatement for additional information about these values.
Statement Return type: String
The portion of the current SQL statement specified by Type.