FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour fw_dbftoArray alcance
Posts: 162
Joined: Tue Feb 03, 2009 10:08 PM
fw_dbftoArray alcance
Posted: Thu Dec 06, 2018 01:36 AM

Buenas noches foro

Un ejemplo de ayuda en la forma correcta de codificar fw_dbftoarray,

cFieldList := "Fecha, Terminal, Valor"

 FW_DbfToArray ( cFieldList, bFor, bWhile, nNext, nRec, lRest, aData )

Necesito en el Array solo una fecha determinada

Gracias

J. Ernesto Pinto Q.
Fwh_x64 2501, BCC++_x64 7_70 , Harbour 3.20, LopeEdit 5.8
jepsys@hotmail.com, jepsys@gmail.com

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: fw_dbftoArray alcance
Posted: Thu Dec 06, 2018 08:54 AM
Code (fw): Select all Collapse
aRows := FW_DbfToArray( "DATE,TERMINAL,VALUE", { || FIELD->DATE = dDate } )

where dDate is the specific date required
Regards



G. N. Rao.

Hyderabad, India
Posts: 162
Joined: Tue Feb 03, 2009 10:08 PM
Re: fw_dbftoArray alcance
Posted: Fri Dec 07, 2018 12:44 AM

thank you Mr RAO

J. Ernesto Pinto Q.
Fwh_x64 2501, BCC++_x64 7_70 , Harbour 3.20, LopeEdit 5.8
jepsys@hotmail.com, jepsys@gmail.com

Continue the discussion