oBD:SaveToDbf()

Post Reply
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

oBD:SaveToDbf()

Post by vilian »

Is possible appending records in a table that already exist using this method ? How?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: oBD:SaveToDbf()

Post 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 )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: oBD:SaveToDbf()

Post by vilian »

Thanks ;)
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Post Reply