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 )
... 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 ...
... { 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
... ) 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( ...
... 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( ...
... 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 ...
... 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" ...
... 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()
... 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 ...
... 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 ...
... 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 ...