Skip to content

SQLGetNextArgument - cSQLStatement

Can be used to get return values from a stored procedure in argument order

Type: Function
Return Data Type: String

Syntax

Function SQLGetNextArgument Returns String

Call Example

Get SQLGetNextArgument to StringVariable

Description

Can be used to get return values from a stored procedure in argument order. Calls SQLGetArgument.

Instead of

Get SQLGetArgument of hStmt 1 to sArg1
Get SQLGetArgument of hStmt 2 to sArg2

The following can be used.

Get SQLGetNextArgument of hStmt to sArg1
Get SQLGetNextArgument of hStmt to sArg2

Return Value

The next column's argument