Hello friends!
I need to communicate with a SQL Server.
I create the connection, and do RecordSet:
cSql:="select * from clientes"
oRs:=FW_OpenRecordSet(oCn,cSql)
and I run through the result with:
DO WHILE !oRs:Eof()
..
..
oRs:MoveNext()
ENDDO
oRw:Close()
With MySql I use the "fillarray" and my query is dumped into an array,
in this case, with "FW_OpenRecordSet" you can generate the query directly
in an array??
Thank you so much!
Roberto
ADO for SQL Server and Array
- TOTOVIOTTI
- Posts: 422
- Joined: Fri Feb 05, 2010 11:30 am
- Location: San Francisco - Córdoba - Argentina
Re: ADO for SQL Server and Array
Hi,
I think this function is the one you need
aData := RsGetRows( oRs ) // retrive data as array
I think this function is the one you need
aData := RsGetRows( oRs ) // retrive data as array
- TOTOVIOTTI
- Posts: 422
- Joined: Fri Feb 05, 2010 11:30 am
- Location: San Francisco - Córdoba - Argentina
Re: ADO for SQL Server and Array
Excelent!!!!!
Thank you so much!
Thank you so much!