Search found 19 matches: aresult

Return to advanced search

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 ...
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: 957

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

... "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: LEN ...
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: 957

Re: color the cells of the xbrowse

Perhaps FOR n = 2 to len( oBrw:aCols ) oCol := oBrw:aCols[ n ] AADD( aBColors, { || FindDupe(aResult,oCol) } ) NEXT // sort Result ASORT( aResult,,, { | aX, aY | aX[ 1 ] < aY[ 1 ] } ) // set Color when "dupe" nNumColor := 600000 nCount := 0 ii := 1 FOR ii ...
by Silvio.Falconi
Wed Apr 20, 2022 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: color the cells of the xbrowse
Replies: 11
Views: 825

Re: color the cells of the xbrowse

...  LOCAL nColMax     LOCAL ii, jj, nNum, nPosi, nNumColor     LOCAL nCount   := 0     local aResult :={}      // read aData and add Number to aResult   ii := 1   FOR ii := 1 TO nRowMax    ...
by Silvio.Falconi
Wed Apr 20, 2022 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: color the cells of the xbrowse
Replies: 11
Views: 825

QueryResult 1 row and many rows different array type

... All, I use FWMARIADB with MariaDb and I got strange behavior as below; I use oCon:QueryResult(..). Result as many rows : got as dimension array aResult := {{'1','smith', 100 },; {'2','John', 200 }} Result as 1 row : got as 1 column array as many rows aResult := {'1','Smith',100} But it should ...
by dutch
Sun Mar 28, 2021 2:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: QueryResult 1 row and many rows different array type
Replies: 1
Views: 382

Sort array but not typical from A-Z or Z-A

... this is comming from a loop reading a database I put them in a array, but then the array should sort always with this as possible result. aResult = "S,M,L,XL,2X,3X" it is possible that cVar has only 3 items cVar = "M,S,XL" and aResult should be "S,M,XL" "XS,S,M,L,XL,2X,3X,4X,5X" ...
by Marc Venken
Mon Aug 31, 2020 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sort array but not typical from A-Z or Z-A
Replies: 4
Views: 423

Re: FW Lookup function (where to find)

SELECT aResult := { oBrw:Code:Value, oBrw:Lijst:Value, oBrw:Titel:Value }
by nageswaragunupudi
Sun May 03, 2020 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Lookup function (where to find)
Replies: 5
Views: 627

FW Lookup function (where to find)

... TITLE "Selecteer de campagne" SETUP ( oBrw:cHeaders := { "Code", "Lijst","Titel" } ) SELECT aResult := oBrw This is giving me all data, but inside is a lot of data from Xbrowse and have to figer out where the data is.
by Marc Venken
Sat May 02, 2020 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Lookup function (where to find)
Replies: 5
Views: 627

SQL BROWSER with FIVEWIN + xBrowser

... browse with the result. But I can't update the browser, could anyone help? this function does not work: static procedure PopulaBrowseQuery(cNotes, aResult) local oData oData := m->oserver:query( Alltrim(cNotes) ) aResult :=oData:FillArray() s_oBrowse:setarray(aResult) s_oBrowse:Refresh() return ...
by MGA
Fri Dec 20, 2019 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL BROWSER with FIVEWIN + xBrowser
Replies: 8
Views: 1715

Re: función para saber claves de una entrada CDX

SELECT (laTabla)
SET ORDER TO (elIndice)
aResult := Array()
dBSeek( cClaveABuscar )
WHILE !Eof() .AND. OrdKeyVal() == cClaveABuscar
aAdd( aResult, Recno() )
SKIP
ENDDO
by Carlos Mora
Tue Mar 15, 2016 2:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: función para saber claves de una entrada CDX
Replies: 3
Views: 415

New FTDN March/Marzo 2013 (FWH 13.03)

... FROM CUSTOMER GROUP BY STATE" ) xbrowser oRs * New: Function FW_DbfSqlQuery( [cFolder], cSql, [lExecute], [lAsRecSet (.f.)] ) --> aResult ( see database.prg ) - This function can be used to retrieve results of an Sql Query on DBF tables stored on local computer quickly. - If the ...
by Antonio Linares
Thu Mar 28, 2013 11:33 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2013 (FWH 13.03)
Replies: 0
Views: 2503

Re: archivos em funcionamiento

... probarlo sin estan funcion pasando directamente el nombre del fichero. Function EnMemoria( nFile ) LOCAL aTasks := GetTasks(),; aLen := 0 ,; aResult := .F. FOR aLen := 1 TO Len( aTasks ) If cFileNoPath( aTasks[aLen] ) == Upper( nFile ) aResult := .T. Exit End NEXT Return( aResult ) Espero ...
by jll-fwh
Thu Feb 04, 2010 6:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: archivos em funcionamiento
Replies: 2
Views: 349

has verificado que FUNCTION WndSetFocus(cTitle,oWnd) este haciendo el trabajo correcto? puedes ahcer esto: bValid := {|| IF(EMPTY(aResult:=SELECEMPRE(@uBuffer)),.F.,.T.)} con aResult no estas haciendo nada ya que esa variable toma el valor de FUNCTION SELECEMPRE( xVar ), has que esta funcion ...
by Daniel Garcia-Gil
Thu Oct 30, 2008 11:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
Replies: 9
Views: 1520

... CALIAS, lFirstEdit, xCols, oWnd ) } //la funcion de edicion: STATIC Function EDICION( Brw1, nCol, cBuffer, CALIAS, lFirstEdit, xCols, oWnd ) LOCAL aResult, uBuffer, lContinue:= .T. LOCAL bValid, aItems, bAction, nClrFore, nClrBack nClrFore := RGB(0,0,0) nClrBack := RGB(149,198,147) FOR nCol := ...
by angstin
Thu Oct 30, 2008 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
Replies: 9
Views: 1520

Dudas con MDI- MDICHILD

... que la busca por el ctitle y le da el foco pero no me funciona. te anexo el codigo... Case nCol == 2 uBuffer := (Brw1:CALIAS)->id_com aResult := "" IF lContinue:= Brw1:lEditCol( nCol, @uBuffer, "@!") IF EMPTY(uBuffer) COMP0101(uBuffer) // aqui llamo a la otra ventana MDI donde debo ...
by angstin
Tue Oct 28, 2008 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dudas con MDI- MDICHILD
Replies: 0
Views: 366
Next

Return to advanced search