FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse toexcel() img(jpg) field error: oSheet:Paste()
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
xbrowse toexcel() img(jpg) field error: oSheet:Paste()
Posted: Mon May 09, 2011 10:02 AM

Hi,
oCol := obrow:AddCol()
oCol:bStrData := { ||cpath1+"\sub\"+cvaltochar(odb2:imgid)+".jpg"}
oCol:cHeader := "img"
ocol:cdatatype:="F"

METHOD ToExcel( oSheet, nRow, nCol ) CLASS TXBrwColumn
oSheet:Paste()

(DOS Error -2147352567) WINOLE/1007 Argument error: PASTE

Best regard!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse toexcel() img(jpg) field error: oSheet:Paste()
Posted: Mon May 09, 2011 07:51 PM

Please try

oCol:bEditValue := { ||cpath1+"\sub\"+cvaltochar(odb2:imgid)+".jpg"}

Please note use of bStrData in the application program is deprecated since long.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion