Page 1 of 1

Append From- RESOLVED

Posted: Mon Sep 02, 2019 10:09 pm
by Silvio.Falconi
a sample of append from ( two dbf same structure)

thanks

Re: Append From

Posted: Tue Sep 03, 2019 12:47 am
by wmormar
Silvio,

USE test1 EXCLUSIVE
APPEND FROM test2
CLOSE DATABASES

USE test1
xbrowse()

Saludos

Re: Append From

Posted: Tue Sep 03, 2019 7:46 am
by ukoenig
Silvio,

I think You changed to TDatabase

oData := TDatabase():New( , "CUST1", "DBFCDX", .F. ) // exclusive
oData:use()
// AppendFrom( cFile, aFields, bFor, bWhile, nNext, nRec, lRest )
oData:AppendFrom( "CUST2" )
oData:Close()
oData := TDatabase():New( , "CUST1", "DBFCDX", .T. ) // shared
oData:use()
xBrowse(oData)


regards
Uwe :?:

Re: Append From

Posted: Tue Sep 03, 2019 1:51 pm
by Silvio.Falconi
thanks i wish tdatabase
the function of conversion of dbf also not run ok and i tried also with tdatabase while with normal ( silvio->) it is ok
this afternoon i will try it

Re: Append From

Posted: Tue Sep 03, 2019 2:50 pm
by Silvio.Falconi
RESOLVED
NOT NEED APPEND FROM
now I can converte all database on my dbf :)