FW_RecordSetToArray

Post Reply
elvira
Posts: 462
Joined: Fri Jun 29, 2012 12:49 pm

FW_RecordSetToArray

Post by elvira »

Hello,

It would be very useful to have this function.

Thanks.
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: FW_RecordSetToArray

Post by lucasdebeltran »

Muy interesante ;).
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
mastintin
Posts: 1502
Joined: Thu May 27, 2010 2:06 pm

Re: FW_RecordSetToArray

Post by mastintin »

function FW_RecToHash( cFieldList, cNames ) ? . ¿ serviría para un recordSet ?
Se encuentra en : \fwh\source\classes\database.prg
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: FW_RecordSetToArray

Post by lucasdebeltran »

No, no sirve porque hay que pasarle el objeto Recordset, oRS
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: FW_RecordSetToArray

Post by nageswaragunupudi »

elvira wrote:Hello,

It would be very useful to have this function.

Thanks.
It is very likely that by now you must be knowing already.
This is so simple that it does not require a separate function.

Code: Select all

aData := oRs:GetRows()
Regards

G. N. Rao.
Hyderabad, India
Post Reply