Search found 229 matches: setorder

Return to advanced search

Re: URGENTE Busqueda Incremental en Xbrowse Array

La propuesta del compañero es muy válida, al realizar el EVal, aunque también se puede hacer simplemente
( No es un error, es que seguramente la primera vez se quede en descendente )
oBrw:aCols[ 2 ]:SetOrder()
oBrw:aCols[ 2 ]:SetOrder()
by cnavarro
Wed Jan 08, 2020 9:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: URGENTE Busqueda Incremental en Xbrowse Array
Replies: 21
Views: 2923

Re: URGENTE Busqueda Incremental en Xbrowse Array

... muchos colegas han abandonado este foro, quizas por otras tecnologias. Muchos Saludos. Antonio Prueba esto a ver si te funciona: oBrw:aCols[ 2 ]:SetOrder() En cuanto a lo que comentas, te sorprenderías de las visitas que tiene el foro, tanto logueados como no, otro tema son las personas que tienen ...
by cnavarro
Wed Jan 08, 2020 1:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: URGENTE Busqueda Incremental en Xbrowse Array
Replies: 21
Views: 2923

Re: Tema maria_Connect / FWCONNECT

... { cState, nAge } )  Works even if the connection to server is lost. SEEK: oRs:Sort := <fieldname> // OR oRs:SetOrder( <fieldname> ) oRs:Seek( <value>, [lSoft], [lWild] ) --> lSuccess
by nageswaragunupudi
Wed Dec 18, 2019 8:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tema maria_Connect / FWCONNECT
Replies: 7
Views: 1586

Re: Possible to run 2 browser synchronously ? ( Test-download )

... "Group + Section + Position", .F. ) oProj:Close() oProj1 := TDatabase():Open( , "PROJECT", "DBFCDX", .T. ) oProj1:SetOrder( "PROJ1", "PROJECT" ) oProj2 := TDatabase():Open( , "PROJECT", "DBFCDX", .T. ) oProj2:SetOrder( "PROJ1", ...
by ukoenig
Wed Oct 09, 2019 1:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to run 2 or 3 browser synchronously ?
Replies: 10
Views: 3083

Re: xbrowse too slow

oLotto:= TDatabase():Open( , cDir+"Lotto", "DBFCDX", .T. )
oLotto:setorder(nOrder)
oLotto:gotop()
oLotto:lbuffer:=.f.
by Silvio.Falconi
Wed Sep 18, 2019 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4380

translation to..Tdatabase

... )       DST->( DBGOTOP() ) I try with olotto2:= TDatabase():Open( , "LOTTO2", "DBFCDX", .T. ) olotto2:setorder(1) olotto2:gotop() oLotto2:ArraytoDbf(aData) but not run ok I tried also with Local cFieldList:="data,ruota,n1,n2,n3,n4,n5" oLotto2:ArrayToDBF( ...
by Silvio.Falconi
Tue Sep 03, 2019 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: translation to..Tdatabase
Replies: 1
Views: 704

Re: Small Invoice with tdatabase

... Endif oPartRes:skip() EndDo oPartRes:Gotop() // except by calling the deleted and filtering by num invoice SET DELETED ON oPartRes:setorder(0) oPartRes:Exec( < || SET FILTER TO AllTrim( FIELD->INVNUM ) = alltrim(nInvoice) return nil > ) oPartRes:gotop() oPartRes:ArrayToDBF( ...
by Silvio.Falconi
Mon Aug 12, 2019 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small Invoice with tdatabase
Replies: 6
Views: 1227

strange problem with tdatabase

... + STR( SERIAL, 3, 0 ) TAG invnum TO resitems oPartres:=TDatabase():Open( , cDir+"ResItems", "DBFCDX", .T. ) oPartres:setorder(1) oPartres:gotop() oPartRes:Gotop() Do While .not. oPartRes:eof() IF alltrim(oPartRes:InvNum) == alltrim(nInvoice) // Msginfo( oPartRes:InvNum ...
by Silvio.Falconi
Sat Aug 10, 2019 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange problem with tdatabase
Replies: 5
Views: 1040

Re: Converting sample test of Tplan

... ROOMS_ID + DToS( CHECK_IN )+ALLTRIM(TYPE) TAG room_in because I add a new field on Reserva.dbf Type and then on dialog I make the seek ::oReserva:SetOrder( "room_in" ) ::oReserva:GoTop() ::oReserva:Seek( oPlan:GetRowID() + DToS( dCheckIn )+ALLTRIM(cTipo) ) any solution please I need ...
by Silvio.Falconi
Sat Jun 22, 2019 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting sample test of Tplan
Replies: 26
Views: 2705

xbrowse Vs listbox: help to structure the body of invoice

... oT:aDat[1] is the number of the invoice now with xbrowse how do I have to do to show only the lines that are of that invoice? SELECT TB TB->(DbSetOrder(1)) TB->( OrdScope(0, { || oT:aDat[1] })) TB->( OrdScope(1, { || oT:aDat[1] }) ) TB->(DbGoTop()) aBrowse     :=  {{"PAITEM" ...
by Silvio.Falconi
Fri Jun 07, 2019 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse Vs listbox: help to structure the body of invoice
Replies: 0
Views: 541

Re: xBrowse edit dialog and navigation

... DBF with DBFCDX all the index tags in the .cdx file are all automatically opened. Just open the DBF and set order to any tag you want. Use oDbf:SetOrder( "tagname" ) followed by oDbf:GoTop()
by nageswaragunupudi
Sat Jun 01, 2019 7:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse edit dialog and navigation
Replies: 26
Views: 4045

Re: xBrowse edit dialog and navigation

... the indexes for example: oCustomers: = OpenTData ("Customers", {"TAG01", "TAG02", "TAG03"}) oCustomers: SetOrder ("TAG01") oCustomers: gotop () but i don't know how i did it with Function OpenData (cDbf, aIdx) LOCAL oDbf Locals oDbf: = TDatabase ...
by Silvio.Falconi
Sat Jun 01, 2019 7:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse edit dialog and navigation
Replies: 26
Views: 4045

Re: TO JAmes Bott : command for tdata

... First you go through and delete all of teh records. Then you turn SET DELETED ON which means you essentially have an empty database. Next you SetOrder to 0 ( no index ) but you never told it to use an index. Then you take the database object and call an array to it. I'm sorry, but I just don't ...
by Silvio.Falconi
Tue May 28, 2019 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO James Bott : command for tdata
Replies: 9
Views: 1087

Re: TO JAmes Bott : command for tdata

... First you go through and delete all of teh records. Then you turn SET DELETED ON which means you essentially have an empty database. Next you SetOrder to 0 ( no index ) but you never told it to use an index. Then you take the database object and call an array to it. I'm sorry, but I just don't ...
by TimStone
Sat May 25, 2019 11:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO James Bott : command for tdata
Replies: 9
Views: 1087

Re: tdatabase Filter error

... := ctod("01-07-2018") oApp:dDataFinale := ctod("07-08-2018") oApp:lshowNumeri:= .t. on Function Change_Plan oReservation:setorder(1) oReservation:Exec( < || SET FILTER TO AllTrim( FIELD->TYPE ) = AllTrim( cTypeRoom ) .and. FIELD->NUM = nElemento ; .AND. ( oApp:dDataIniziale ...
by Silvio.Falconi
Fri May 03, 2019 7:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdatabase Filter error
Replies: 20
Views: 1669
PreviousNext

Return to advanced search