oBD:SaveToDbf()

oBD:SaveToDbf()

Postby vilian » Tue Jul 23, 2019 5: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
User avatar
vilian
 
Posts: 976
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: oBD:SaveToDbf()

Postby nageswaragunupudi » Tue Jul 23, 2019 11:43 pm

Not possible.

Instead, you can do this:
Code: Select all  Expand view

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
nageswaragunupudi
 
Posts: 10634
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: oBD:SaveToDbf()

Postby vilian » Wed Jul 24, 2019 12:49 am

Thanks ;)
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 976
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests