Hello,
After successfully using f90sql to interface with .mdb files a while back, I thought it would be pretty straightforward to do the same with excel (reading values from certain columns of excel spreadsheets).
But I am having a spot of bother.
First I bind the column of interest with a variable (ELECTRICITY):
call f90SQLBindCol (StmtHndl, ColNumber, SQL_F_CHAR, ELECTRICITY, f90SQL_NULL_PTR, iRet)
Then a simple fetch statement:
call f90SQLExecDirect(StmtHndl,trim(SQLStmtStr),iRet) call f90SQLFetch(StmtHndl,iRet)
This is almost identical to the routine I used for the .mdb files but all I get is the error statement: HY010 function sequence error
Can anyone help?
DM