Search found 121 matches: aselected

Return to advanced search

Re: Print oBrowse aselected

What is the source of your browse? Array or DBF or whatelse? My solution is an example that works with DBF. If not DBF, you should understand the logic and apply to your case. SEE your mail I use Tdatabase oDbf:=TComuni():New() oDbf:setorder(1) oDbf:Gotop() local aCols := { ; { "COMUNE", ...
by Silvio.Falconi
Wed Apr 26, 2023 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 334

Re: Print oBrowse aselected

What is the source of your browse? Array or DBF or whatelse?

My solution is an example that works with DBF.
If not DBF, you should understand the logic and apply to your case.
by nageswaragunupudi
Wed Apr 26, 2023 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 334

Re: Print oBrowse aselected

cAlias   := oBrw:cAliasnAt      := 1nSaveRec := ( cAlias )->( RECNO() )////do while nAt <= oBrw:aSelected   ( cAlias )->( DBGOTO( oBrw:aSelected( nAt ) ) )   // PRINT (cAlias)->fields the way you want    nAt++enddo( ...
by Silvio.Falconi
Wed Apr 26, 2023 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 334

Re: Print oBrowse aselected

cAlias   := oBrw:cAliasnAt      := 1nSaveRec := ( cAlias )->( RECNO() )////do while nAt <= Len( oBrw:aSelected )   ( cAlias )->( DBGOTO( oBrw:aSelected[ nAt ] ) )   // PRINT (cAlias)->fields the way you want    nAt++enddo( ...
by nageswaragunupudi
Wed Apr 26, 2023 12:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 334

Print oBrowse aselected

... class these records are selected from a xbrowse as you can see here https://i.postimg.cc/Vkr8H5h0/selected.png If I make oBrowse:aselected I have only numbers no record as I make to print each columns of xbrowse but only the records selected ? do i have to create an array? now ...
by Silvio.Falconi
Tue Apr 25, 2023 5:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print oBrowse aselected
Replies: 5
Views: 334

Re: xBrowse - ADO - SetMultiSelectCol - lAutosort

If the customer selects columns and then changes the oRs order (since SetMultiSelectCol works with oRs: AbsolutePosition) NO. oBrw:aSelected is NOT an array of oRs:AbsolutePositions. It is an array of oRs:BookMarks BookMark of a RecordSet is like RECNO() of DBF. Does not change with sorting. ...
by nageswaragunupudi
Tue Sep 06, 2022 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - ADO - SetMultiSelectCol - lAutosort
Replies: 3
Views: 491

Re: SET CHECK EN BROWSE CON DATA DE UN QUERY

Estimado Mr. Rao:
Excelente, muchas gracias!
Esto lo tengo que capturar con oBrw:aSelected o hay alguna manera de obtener el conjunto de datos de la query original que han sido seleccionados?
by cmsoft
Tue Aug 30, 2022 8:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SET CHECK EN BROWSE CON DATA DE UN QUERY
Replies: 9
Views: 849

Re: Xbrowse Check/uncheck all

oBrw:SelectRow( 0 ) // clear all i.e., select none oBrw:SelectRow( 4 ) // Select all After oBrw:CreateFromCode() For n=1 to 12 oBrw:aSelected[ n ] := ( SubStr(cMese, n, 1)) == "1" ) next Thanks Rao I tring to create a custom Class from Txbrowse can you help me give me error on ...
by Silvio.Falconi
Sat May 21, 2022 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Check/uncheck all
Replies: 5
Views: 457

Re: Xbrowse Check/uncheck all

oBrw:SelectRow( 0 ) // clear all i.e., select none
oBrw:SelectRow( 4 ) // Select all

After oBrw:CreateFromCode()
For n=1 to 12
oBrw:aSelected[ n ] := ( SubStr(cMese, n, 1)) == "1" )
next
by nageswaragunupudi
Sat May 21, 2022 2:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Check/uncheck all
Replies: 5
Views: 457

XBROWSE select

... on mouse How I can make to select one rows with only click with mouse ? at the beginning the xbrowse selects the first row in fact in oLbxRuote: aselected there is allway 1 as you can see https://i.postimg.cc/tg3ZzZ6V/kkkk.png how I can resolve ?
by Silvio.Falconi
Mon Mar 28, 2022 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE select
Replies: 0
Views: 238

Xbrowse bOnChange works when changing data in loop ?

... ? That is correct ? Very nice... did not know, but please confirm... // his will change data from the selected rows FOR I = 1 TO LEN(oBRWT2:aSELECTED) // obrw:aSELECTED is an array containing recnos marked (oBrwT2:cAlias)->(dbgoto(oBRWT2:aSELECTED[I])) oBrwT2:&nVeldID:Varput( mem_var ...
by Marc Venken
Sat Jan 29, 2022 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse bOnChange works when changing data in loop ?
Replies: 1
Views: 180

Re: MULTISELECT RECORDSET

Thanks for your help .

Here is the code that work for me .

oRs:Filter := oLbx:aSelected
oRs:MoveFirst()
do while !oRs:Eof()
msgalert(oRs:Fields(1):Value)
oRs:MoveNext()
enddo

Thanks

Philippe
by Jack
Sat Jun 26, 2021 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MULTISELECT RECORDSET
Replies: 3
Views: 457

MULTISELECT RECORDSET

Hi,
I can use multiselect with xbrowse of recordset
*
How to go to each record select and do Something

What is the syntax ?

wac := oLbx:aSelected

for i = 1 to len (wac)
*** ???
next

Thanks for your help .

Philippe
by Jack
Fri Jun 25, 2021 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MULTISELECT RECORDSET
Replies: 3
Views: 457

Re: New FTDN February/Febrero 2021 (FWH 21.02)

... Hacer clic en la cabecera activa la selección de todas las filas. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=40107 - Cuando oBrw:aSelected tiene sólo un registro, todas las filas se envían al informe/Excel. Solucionado !!! * TGRAPH: - Nuevo método Define(), soportado por el nuevo ...
by Antonio Linares
Mon Apr 05, 2021 6:43 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2021 (FWH 21.02)
Replies: 2
Views: 1485

Re: FWH 2102: XBrowse:SetMultiSelectCol()

This is a very roundabout way to maintain MASTER->SELECTION field. We are forced to take the aid of arrays like "aSelected", etc., only when the database does not provide a field to indicate the selection status. When the database itself provides this field, we should ...
by nageswaragunupudi
Sat Mar 27, 2021 5:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2102: XBrowse:SetMultiSelectCol()
Replies: 17
Views: 2408
PreviousNext

Return to advanced search