In my previous Harbour and FWH version, in order to load contents of Recordset in ADO, I did:
Code: Select all
IF ! ( oRsClientes:Eof .and. oRsClientes:Bof )
oRsClientes:MoveFirst()
aArray1 := oRsClientes:GetRows()
ENDIF
Thank you.
Code: Select all
IF ! ( oRsClientes:Eof .and. oRsClientes:Bof )
oRsClientes:MoveFirst()
aArray1 := oRsClientes:GetRows()
ENDIF
Code: Select all
hData := RsToHash( oRsClientes)
This is due to a change in the Harbour libraries. Nothing to do with FWH.MOISES wrote:Hi,
In my previous Harbour and FWH version, in order to load contents of Recordset in ADO, I did:
But now, the format of the array is wrong. Is there another way to achieve the result?Code: Select all
IF ! ( oRsClientes:Eof .and. oRsClientes:Bof ) oRsClientes:MoveFirst() aArray1 := oRsClientes:GetRows() ENDIF
Thank you.
Code: Select all
aRows := RsGetRows( oRs, [nRows], [nStart], [aFields] )
Code: Select all
aData := oRs:GetRows()
Code: Select all
aData := RsGetRows( oRs )
Code: Select all
hData := RsToHash( oRs, ..... )
cJson := RsToJson( oRs, .... )
RsGetRows() is faster than RsToHash()2.- Also there is the Hash approach: aArray1 := RsToHash( oRs )
Is this fastest?