Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

sqlipInitParam

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method is called for each input parameter that has been specified by the client application. It initializes the parameter with the specified value. All parameters values are passed as character string buffers.

int sqlipInitParam(
int iParam, 
int iIndicator, 
String sValAsStr, 
byte[] binaryData, 
int iXODataType);

Parameters for sqlipInitParam

Parameter Type Description
INPUT    
iParam int Parameter number. The first parameter starts at 0.
iIndicator int Indicates whether the value is null terminated:
NULL_INDICATOR – the parameter’s value is NULLSQL_NTS – sValAsStr contains the data in string format.
sValAsStr String Parameter value as a string. All values besides XO_TYPE_BINARY, XO_TYPE_VARBINARY, and XO_TYPE_LONGVARBINARY are passed is as a string.
binaryData byte[ ] Parameter data as binary. Values for XO_TYPE_BINARY, XO_TYPE_VARBINARY, and XO_TYPE_LONGVARBINARY are passed in using this argument.
iXODataType int Data type of the parameter as specified by the client application. Use this information to determine how to interpret the value passed in as a string so that it can be passed to the backend data source accordingly. In many cases, you can pass it in as a string as the backend will handle all conversions.
RETURN    
  int OADS_SUCCESS
OADS_ERROR
TitleResults for “How to create a CRG?”Also Available inAlert