FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Converting DBT to Fpt
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Converting DBT to Fpt
Posted: Wed Feb 02, 2022 10:20 AM

any solution ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Converting DBT to Fpt
Posted: Wed Feb 02, 2022 10:54 AM
I tried this

Code (fw): Select all Collapse
Function Main()
   local cDirOld:= ".\dataold\"
   local cDir:= ".\data\"

   REQUEST DBFCDX
   REQUEST DBFFPT

   use &(cDirOld+'AnaCF')
   copy to &(cDir+'AnaCF') via "DBFCDX"
   use &(cDir+'AnaCF')
   xbrowse()

Return nil


and run but is there a function to converting all dbfs ? I have many dbf ...:-)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Converting DBT to Fpt
Posted: Wed Feb 02, 2022 11:04 AM

Directory() and a loop :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion