Converting DBT to Fpt

Converting DBT to Fpt

Postby Silvio.Falconi » 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 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: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: Converting DBT to Fpt

Postby Silvio.Falconi » Wed Feb 02, 2022 10:54 am

I tried this

Code: Select all  Expand view

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 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: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: Converting DBT to Fpt

Postby Antonio Linares » Wed Feb 02, 2022 11:04 am

Directory() and a loop :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 107 guests