LC LSX Select & Fetch problem on moving from R5 to R6

Hi All,We have decided to move from R5.0.12 to R6.5.4 with LEI 6.5.4 but this application glitch is not letting us move forward. The following peice of code fails when run on R6.5.4 server but on R5 server it works like a charm.

Set lsxQryKeyFieldList = CreateLSXFieldListForQuery ( lstOrclQryFields )

If lsxQryKeyFieldList Is Nothing Then

Exit Function

End If

Set lsxQryResultFieldList = New LCFieldList ( 1, 1)

Call gLSXConnection.Select (lsxQryKeyFieldList, 1, lsxQryResultFieldList)

'***********This is where it falls over ******

If gLSXConnection.Fetch ( lsxQryResultFieldList,1,1 ) > 0 Then

******* This is the error message we are getting ********

12302-Error: A return parameter is required, but none was provided, Connector ‘Oracle8’, Method -Fetch- on line 100

I have changed to Oracle to Oracle8 in the connection. When I look at the debugger the lsxQryKeyFieldList has the correct values but when I look at the lsxQryResultFieldList after the Select statement has been passed then Fields are there in the lsxQryResultFieldList but the values are blank.

Thanks for all your help.

BST