Help to use FW_DbfToArray and FW_ArrayToDBF

Help to use FW_DbfToArray and FW_ArrayToDBF

Postby Silvio.Falconi » Wed Dec 07, 2016 5:09 pm

where I can see a sample for FW_DbfToArray and FW_ArrayToDBF

I Must insert record of two dbf into a array sample aTelefono
I made :

SELECT CL
CL->(DbGoTop())
aTelefono_clienti:=CL-> (FW_DbfToArray(,{ || oProgress:Setpos( ++nProgress ), .t. }))

SELECT PR
PR->(DbGoTop())
aTelefono_Fornitori:=PR-> (FW_DbfToArray(,{ || oProgress:Setpos( ++nProgress ), .t. }))

ACopy( aTelefono_clienti, aTelefono_Fornitori)
but not run ok

Now I have two array but I must create only one and then I must create a dbf from this one


how I can make it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Help to use FW_DbfToArray and FW_ArrayToDBF

Postby vilian » Wed Dec 07, 2016 7:30 pm

Silvio,


Aeval( aTelefono_Fornitori, {|aVal| Aadd(aTelefono_clienti,aVal) } )
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: Help to use FW_DbfToArray and FW_ArrayToDBF

Postby Silvio.Falconi » Wed Dec 07, 2016 9:16 pm

thanks good!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 117 guests