Search found 3 matches: aresult

Searched query: aresult

by nageswaragunupudi
Tue Oct 01, 2024 5:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWMariab oCn:QueryResult()
Replies: 2
Views: 421

Re: FWMariab oCn:QueryResult()

Use

Code: Select all | Expand

aResult := oCn:Execute( cScript )
aResult is always a two dimensional array
by Marc Venken
Thu Apr 13, 2023 7:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : oBrw:ToArray (How to do it)
Replies: 13
Views: 1799

Re: Xbrowse : oBrw:ToArray (How to do it)

Thanks for the clarification !!

I tried to add a col to the function

oBrw:bRClicked := { |r,c,f,oBrw| aResult := XbrToArray( oBrw, [ aCols ] )

How does the passing aCols look like ?

{1,2}
{"ColName1","Colname2"}

these don't work. When I look in the function and aCols = NIL, it is filled with a ...
by Marc Venken
Wed Apr 12, 2023 2:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : oBrw:ToArray (How to do it)
Replies: 13
Views: 1799

Re: Xbrowse : oBrw:ToArray (How to do it)

... to see

xbrowser ( hData[ "data" ] ) COLUMNS "productid", "model" setup ( oBrw:cHeaders := {"productid","model"}, oBrw:bRClicked := { |r,c,f,oBrw| aResult := XbrToArray( oBrw, [ aCols ] ) } )


errorline =
aData := Array( nRows, Len( aCols ) )


Error description: Error BASE/1111 Argument error ...