Expecting %1 columns in cursor, but found %2

Error code -10050
Error constant ODBC_WRONG_NUM_COLUMNS
Parameter 1 The number of columns expected.
Parameter 2 The number of columns found.
 Probable cause