FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour oBD:SaveToDbf()
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
oBD:SaveToDbf()
Posted: Tue Jul 23, 2019 05:52 PM

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: oBD:SaveToDbf()
Posted: Tue Jul 23, 2019 11:43 PM
Not possible.

Instead, you can do this:
Code (fw): Select all Collapse
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
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: oBD:SaveToDbf()
Posted: Wed Jul 24, 2019 12:49 AM

Thanks ;)

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil

Continue the discussion