Page 1 of 1

oBD:SaveToDbf()

Posted: Tue Jul 23, 2019 5:52 pm
by vilian
Is possible appending records in a table that already exist using this method ? How?

Re: oBD:SaveToDbf()

Posted: Tue Jul 23, 2019 11:43 pm
by nageswaragunupudi
Not possible.

Instead, you can do this:

Code: Select all

cFieldList := "code,name"
cSql := "select " + cFieldList + " from table where cond"
aData := oCn:Execute( cSql )
( cAlias )->( FW_ArrayToDBF( aData, cFieldList )
 

Re: oBD:SaveToDbf()

Posted: Wed Jul 24, 2019 12:49 am
by vilian
Thanks ;)